From ce19782bcee330eac60306a2cf0c435979e68944 Mon Sep 17 00:00:00 2001 From: Ulysses Lara Date: Wed, 22 Jul 2020 13:53:03 -0300 Subject: [PATCH] =?UTF-8?q?Corrigindo=20bug=20tramita=C3=A7=C3=A3o=20(#323?= =?UTF-8?q?3)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- 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 b8a1ed246..182bb6733 100644 --- a/sapl/materia/forms.py +++ b/sapl/materia/forms.py @@ -476,7 +476,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]) + [(ut.pk, ut) for ut in ust if ut.orgao or ut.comissao]) unidade_tramitacao_destino.extend( [(ut.pk, ut) for ut in ust if ut.parlamentar]) self.fields['unidade_tramitacao_destino'].choices = unidade_tramitacao_destino