diff -r 817e96eeac5c -r 3ef8cdb5fb1c hooks/workflow.py --- 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: