changeset 3777 | 3ef8cdb5fb1c |
parent 3739 | 817e96eeac5c |
child 3890 | d7a270f50f54 |
--- a/hooks/workflow.py Mon Oct 19 20:22:01 2009 +0200 +++ b/hooks/workflow.py Wed Oct 21 17:32:20 2009 +0200 @@ -212,7 +212,7 @@ msg = session._('mandatory relation') raise ValidationError(entity.eid, {'by_transition': msg}) deststate = wf.state_by_eid(deststateeid) - if not cowpowers and deststate is None: + if deststate is None: msg = session._("state doesn't belong to entity's workflow") raise ValidationError(entity.eid, {'to_state': msg}) else: