From 62f5ac58036d50b6bda135fd6524f2151a413855 Mon Sep 17 00:00:00 2001 From: Edward Ribeiro Date: Wed, 21 Jun 2017 12:32:24 -0300 Subject: [PATCH] Fix #1215 --- sapl/materia/forms.py | 1 + 1 file changed, 1 insertion(+) diff --git a/sapl/materia/forms.py b/sapl/materia/forms.py index 1c9dea1d4..f48d363c8 100644 --- a/sapl/materia/forms.py +++ b/sapl/materia/forms.py @@ -213,6 +213,7 @@ class TramitacaoForm(ModelForm): def __init__(self, *args, **kwargs): super(TramitacaoForm, self).__init__(*args, **kwargs) self.fields['data_tramitacao'].initial = datetime.now() + self.fields['unidade_tramitacao_local'].widget.attrs['disabled'] = True def clean(self): super(TramitacaoForm, self).clean()