fix handling of 'commentable' in default workflow

This commit is contained in:
Frédéric Péters 2012-08-16 14:17:51 +02:00
parent a8ef9df508
commit 2c69b7fc31
1 changed files with 3 additions and 3 deletions

View File

@ -263,6 +263,9 @@ class Workflow(StorableObject):
rejected_status.items.append(notify_change_user_email)
finished_status.items.append(notify_change_user_email)
new_status.items.append(commentable)
accepted_status.items.append(commentable)
accept = ChoiceWorkflowStatusItem()
accept.id = '_accept'
accept.label = _('Accept')
@ -271,9 +274,6 @@ class Workflow(StorableObject):
accept.parent = new_status
new_status.items.append(accept)
new_status.items.append(commentable)
accepted_status.items.append(commentable)
reject = ChoiceWorkflowStatusItem()
reject.id = '_reject'
reject.label = _('Reject')