misc/migration/3.5.10_Any.py
author Pierre-Yves David <pierre-yves.david@logilab.fr>
Tue, 11 Oct 2011 18:18:14 +0200
branchstable
changeset 7938 80c6e2155c3d
parent 3977 5c84c6df6798
child 8798 cdab3aadc679
permissions -rw-r--r--
AnyRsetView: Refactor the columns_name method and update doc. We drop the 'label_column_%s' % colidx pattern and add a clean column_label method that might be overwritten by children class to alter the way default columns headers are computed.
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
3977
5c84c6df6798 synchronize rdef where unique constraints have been updated/added
Sylvain Thénault <sylvain.thenault@logilab.fr>
parents:
diff changeset
     1
sync_schema_props_perms('state_of')
5c84c6df6798 synchronize rdef where unique constraints have been updated/added
Sylvain Thénault <sylvain.thenault@logilab.fr>
parents:
diff changeset
     2
sync_schema_props_perms('transition_of')
5c84c6df6798 synchronize rdef where unique constraints have been updated/added
Sylvain Thénault <sylvain.thenault@logilab.fr>
parents:
diff changeset
     3
for etype in ('State', 'BaseTransition', 'Transition', 'WorkflowTransition'):
5c84c6df6798 synchronize rdef where unique constraints have been updated/added
Sylvain Thénault <sylvain.thenault@logilab.fr>
parents:
diff changeset
     4
    sync_schema_props_perms((etype, 'name', 'String'))
5c84c6df6798 synchronize rdef where unique constraints have been updated/added
Sylvain Thénault <sylvain.thenault@logilab.fr>
parents:
diff changeset
     5