destination_state should be mandatory stable
authorSylvain Thénault <sylvain.thenault@logilab.fr>
Thu, 02 Jul 2009 10:20:53 +0200
branchstable
changeset 2229 edf20a9ca376
parent 2228 7e85d0169911
child 2230 45d670c00fe1
destination_state should be mandatory
schemas/workflow.py
--- a/schemas/workflow.py	Thu Jul 02 10:20:34 2009 +0200
+++ b/schemas/workflow.py	Thu Jul 02 10:20:53 2009 +0200
@@ -51,7 +51,7 @@
     transition_of = SubjectRelation('CWEType', cardinality='+*',
                                     description=_('entity types which may use this transition'),
                                     constraints=[RQLConstraint('O final FALSE')])
-    destination_state = SubjectRelation('State', cardinality='?*',
+    destination_state = SubjectRelation('State', cardinality='1*',
                                         constraints=[RQLConstraint('S transition_of ET, O state_of ET')],
                                         description=_('destination state for this transition'))