Browse Source

HOT-FIX: #1604

pull/1610/head
Edward Ribeiro 7 years ago
parent
commit
b1e74192cc
  1. 2
      sapl/materia/receivers.py

2
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()

Loading…
Cancel
Save