allow 'cancel' transition at state 'new'

git-svn-id: svn://svn.cy55.de/Zope3/src/cybertools/trunk@3198 fd906abe-77d9-0310-91a1-e0d9ade77398
This commit is contained in:
helmutm 2009-02-02 06:54:02 +00:00
parent dab9b8eedf
commit cb373433fa

View file

@ -42,7 +42,7 @@ _not_found = object()
def workItemStates():
return StatesDefinition('workItemStates',
State('new', 'new',
('plan', 'accept', 'start', 'work', 'finish', 'delegate'),
('plan', 'accept', 'start', 'work', 'finish', 'delegate', 'cancel'),
color='red'),
State('planned', 'planned',
('plan', 'accept', 'start', 'work', 'finish', 'cancel', 'modify'),