equal
deleted
inserted
replaced
48 'add': ('managers', |
48 'add': ('managers', |
49 ERQLExpression('X ecrit_part PE, U in_group G, ' |
49 ERQLExpression('X ecrit_part PE, U in_group G, ' |
50 'PE require_permission P, P name "add_note", ' |
50 'PE require_permission P, P name "add_note", ' |
51 'P require_group G'),)} |
51 'P require_group G'),)} |
52 |
52 |
|
53 whatever = Int() # keep it before `date` for unittest_migraction.test_add_attribute_int |
53 date = Datetime() |
54 date = Datetime() |
54 type = String(maxsize=1) |
55 type = String(maxsize=1) |
55 whatever = Int() |
|
56 mydate = Date(default='TODAY') |
56 mydate = Date(default='TODAY') |
57 shortpara = String(maxsize=64) |
57 shortpara = String(maxsize=64) |
58 ecrit_par = SubjectRelation('Personne', constraints=[RQLConstraint('S concerne A, O concerne A')]) |
58 ecrit_par = SubjectRelation('Personne', constraints=[RQLConstraint('S concerne A, O concerne A')]) |
59 attachment = SubjectRelation(('File', 'Image')) |
59 attachment = SubjectRelation(('File', 'Image')) |
60 |
60 |