From a6c6c0dc095a8d5d238d692d3ffa31226de449d3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rog=C3=A9rio=20Fr=C3=A1?= Date: Thu, 8 Dec 2016 09:34:49 -0200 Subject: [PATCH 1/3] Update forms.py --- sapl/protocoloadm/forms.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/sapl/protocoloadm/forms.py b/sapl/protocoloadm/forms.py index 1003786d1..4713902df 100644 --- a/sapl/protocoloadm/forms.py +++ b/sapl/protocoloadm/forms.py @@ -12,13 +12,14 @@ from django.utils.translation import ugettext_lazy as _ from sapl.base.models import Autor from sapl.crispy_layout_mixin import form_actions, to_row -from sapl.materia.models import UnidadeTramitacao +from sapl.materia.models import UnidadeTramitacao, TipoMateriaLegislativa +from sapl.materia.models import TipoMateriaLegislativa from sapl.utils import (RANGE_ANOS, AnoNumeroOrderingFilter, RangeWidgetOverride, autor_label, autor_modal) from .models import (DocumentoAcessorioAdministrativo, DocumentoAdministrativo, Protocolo, TipoDocumentoAdministrativo, - TramitacaoAdministrativo) + TramitacaoAdministrativo, TipoMateriaLegislativa) TIPOS_PROTOCOLO = [('0', 'Enviado'), ('1', 'Recebido'), ('', 'Ambos')] TIPOS_PROTOCOLO_CREATE = [('0', 'Enviado'), ('1', 'Recebido')] From 60a719f7cfc7e37b1023c26593639195fb7aca40 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rog=C3=A9rio=20Fr=C3=A1?= Date: Thu, 8 Dec 2016 09:37:30 -0200 Subject: [PATCH 2/3] Update forms.py --- sapl/protocoloadm/forms.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sapl/protocoloadm/forms.py b/sapl/protocoloadm/forms.py index 4713902df..bdf24e201 100644 --- a/sapl/protocoloadm/forms.py +++ b/sapl/protocoloadm/forms.py @@ -19,7 +19,7 @@ from sapl.utils import (RANGE_ANOS, AnoNumeroOrderingFilter, from .models import (DocumentoAcessorioAdministrativo, DocumentoAdministrativo, Protocolo, TipoDocumentoAdministrativo, - TramitacaoAdministrativo, TipoMateriaLegislativa) + TramitacaoAdministrativo) TIPOS_PROTOCOLO = [('0', 'Enviado'), ('1', 'Recebido'), ('', 'Ambos')] TIPOS_PROTOCOLO_CREATE = [('0', 'Enviado'), ('1', 'Recebido')] From f3ef458b65e88314a47268ed827c8536c9edea13 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rog=C3=A9rio=20Fr=C3=A1?= Date: Thu, 8 Dec 2016 09:39:00 -0200 Subject: [PATCH 3/3] Update forms.py --- sapl/protocoloadm/forms.py | 1 - 1 file changed, 1 deletion(-) diff --git a/sapl/protocoloadm/forms.py b/sapl/protocoloadm/forms.py index bdf24e201..300078e20 100644 --- a/sapl/protocoloadm/forms.py +++ b/sapl/protocoloadm/forms.py @@ -13,7 +13,6 @@ from django.utils.translation import ugettext_lazy as _ from sapl.base.models import Autor from sapl.crispy_layout_mixin import form_actions, to_row from sapl.materia.models import UnidadeTramitacao, TipoMateriaLegislativa -from sapl.materia.models import TipoMateriaLegislativa from sapl.utils import (RANGE_ANOS, AnoNumeroOrderingFilter, RangeWidgetOverride, autor_label, autor_modal)