equal
deleted
inserted
replaced
25 workflow_of = SubjectRelation('CWEType', cardinality='+*', |
25 workflow_of = SubjectRelation('CWEType', cardinality='+*', |
26 description=_('entity types which may use this workflow'), |
26 description=_('entity types which may use this workflow'), |
27 constraints=[RQLConstraint('O final FALSE')]) |
27 constraints=[RQLConstraint('O final FALSE')]) |
28 |
28 |
29 initial_state = SubjectRelation('State', cardinality='?*', |
29 initial_state = SubjectRelation('State', cardinality='?*', |
30 # S initial_state O, O state_of S |
|
31 constraints=[RQLConstraint('O state_of S')], |
30 constraints=[RQLConstraint('O state_of S')], |
32 description=_('initial state for this workflow')) |
31 description=_('initial state for this workflow')) |
33 |
32 |
34 |
33 |
35 class default_workflow(RelationType): |
34 class default_workflow(RelationType): |