Add an user and a comment field to workflow transitions log. Index the datatime field of workflow logs.

This commit is contained in:
Roberto Rosario
2015-01-24 17:28:30 -04:00
parent 01b040b4dd
commit fdecba281e
6 changed files with 254 additions and 6 deletions

View File

@@ -39,6 +39,7 @@ class WorkflowInstanceTransitionForm(forms.Form):
self.fields['transition'].choices = workflow.get_transition_choices().values_list('pk', 'label')
transition = forms.ChoiceField(label=_('Transition'))
comment = forms.CharField(label=_('Comment'), widget=forms.widgets.Textarea())
class WorkflowInstanceDetailForm(DetailForm):