From b1e74192ccb16a65a99850d74ffabe901c34aef9 Mon Sep 17 00:00:00 2001 From: Edward Ribeiro Date: Mon, 27 Nov 2017 13:38:55 -0200 Subject: [PATCH] HOT-FIX: #1604 --- sapl/materia/receivers.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sapl/materia/receivers.py b/sapl/materia/receivers.py index 37dc43131..945c6636e 100644 --- a/sapl/materia/receivers.py +++ b/sapl/materia/receivers.py @@ -23,7 +23,7 @@ def handle_tramitacao_signal(sender, **kwargs): @receiver(post_delete, sender=Tramitacao) def status_tramitacao_materia(sender, instance, **kwargs): - if instance.turno == 'F': + if instance.status.indicador == 'F': materia = instance.materia materia.em_tramitacao = True materia.save()