From d6c6edae2bfbd7761db0282a71fb326192510ee5 Mon Sep 17 00:00:00 2001 From: Roberto Rosario Date: Tue, 27 Jan 2015 19:35:29 -0400 Subject: [PATCH] Make optional the comment field of workflow transition form --- mayan/apps/document_states/forms.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mayan/apps/document_states/forms.py b/mayan/apps/document_states/forms.py index b764d3754d..f13860c15b 100644 --- a/mayan/apps/document_states/forms.py +++ b/mayan/apps/document_states/forms.py @@ -39,7 +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()) + comment = forms.CharField(label=_('Comment'), required=False, widget=forms.widgets.Textarea()) class WorkflowInstanceDetailForm(DetailForm):