schemas/workflow.py
branchstable
changeset 2229 edf20a9ca376
parent 1977 606923dff11b
child 2234 1fbcf202882d
equal deleted inserted replaced
2228:7e85d0169911 2229:edf20a9ca376
    49                                     description=_('group in which a user should be to be '
    49                                     description=_('group in which a user should be to be '
    50                                                   'allowed to pass this transition'))
    50                                                   'allowed to pass this transition'))
    51     transition_of = SubjectRelation('CWEType', cardinality='+*',
    51     transition_of = SubjectRelation('CWEType', cardinality='+*',
    52                                     description=_('entity types which may use this transition'),
    52                                     description=_('entity types which may use this transition'),
    53                                     constraints=[RQLConstraint('O final FALSE')])
    53                                     constraints=[RQLConstraint('O final FALSE')])
    54     destination_state = SubjectRelation('State', cardinality='?*',
    54     destination_state = SubjectRelation('State', cardinality='1*',
    55                                         constraints=[RQLConstraint('S transition_of ET, O state_of ET')],
    55                                         constraints=[RQLConstraint('S transition_of ET, O state_of ET')],
    56                                         description=_('destination state for this transition'))
    56                                         description=_('destination state for this transition'))
    57 
    57 
    58 
    58 
    59 class TrInfo(MetaEntityType):
    59 class TrInfo(MetaEntityType):