From 4f2d6c649655bc0f0e696854e4768ca37ad059c4 Mon Sep 17 00:00:00 2001 From: eribeiro Date: Thu, 18 Feb 2021 14:42:03 -0300 Subject: [PATCH] Conserta bug introduzido por issue PR #3233 --- sapl/materia/forms.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sapl/materia/forms.py b/sapl/materia/forms.py index 66f8e3228..9a0d47bdc 100644 --- a/sapl/materia/forms.py +++ b/sapl/materia/forms.py @@ -475,7 +475,7 @@ class TramitacaoForm(ModelForm): unidade_tramitacao_destino = [('', '---------')] + [(ut.pk, ut) for ut in ust if ut.comissao and ut.comissao.ativa] unidade_tramitacao_destino.extend( - [(ut.pk, ut) for ut in ust if ut.orgao or ut.comissao]) + [(ut.pk, ut) for ut in ust if ut.orgao]) unidade_tramitacao_destino.extend( [(ut.pk, ut) for ut in ust if ut.parlamentar]) self.fields['unidade_tramitacao_destino'].choices = unidade_tramitacao_destino