From 7584e24194974d5c66fbf3117a8251dcac9a2c49 Mon Sep 17 00:00:00 2001 From: Eduardo Edson Batista Cordeiro Alves Date: Wed, 5 Oct 2016 16:04:35 -0300 Subject: [PATCH] Fix #661 --- sapl/materia/views.py | 1 + 1 file changed, 1 insertion(+) diff --git a/sapl/materia/views.py b/sapl/materia/views.py index 132f48fac..7c2b0d8f5 100644 --- a/sapl/materia/views.py +++ b/sapl/materia/views.py @@ -581,6 +581,7 @@ class TramitacaoCrud(MasterDetailCrud): if local: self.initial['unidade_tramitacao_local' ] = local.unidade_tramitacao_destino.pk + self.initial['data_tramitacao'] = datetime.now() return self.initial def post(self, request, *args, **kwargs):