allow re-open (retract to draft state) of active task

This commit is contained in:
Helmut Merz 2014-11-17 09:08:45 +01:00
parent 40d368602d
commit bd85bfbcdc

View file

@ -54,7 +54,7 @@ def taskStates():
return StatesDefinition('task_states',
State('draft', 'draft', ('release', 'cancel',),
color='blue'),
State('active', 'active', ('finish', 'cancel',),
State('active', 'active', ('finish', 'reopen', 'cancel',),
color='yellow'),
State('finished', 'finished', ('reopen', 'archive',),
color='green'),