From 8fcae50d29364d525284e80c13ce31d37bd5c8cc Mon Sep 17 00:00:00 2001 From: Edward Ribeiro Date: Fri, 24 Aug 2018 14:15:57 -0300 Subject: [PATCH] =?UTF-8?q?HOT-FIX:=20protocolo=20n=C3=A3o=20setava=20o=20?= =?UTF-8?q?timestamp=20da=20anula=C3=A7=C3=A3o?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- sapl/protocoloadm/views.py | 1 + 1 file changed, 1 insertion(+) diff --git a/sapl/protocoloadm/views.py b/sapl/protocoloadm/views.py index 4e4063ba6..824bd1664 100644 --- a/sapl/protocoloadm/views.py +++ b/sapl/protocoloadm/views.py @@ -280,6 +280,7 @@ class AnularProtocoloAdmView(PermissionRequiredMixin, CreateView): form.cleaned_data['justificativa_anulacao']) protocolo.user_anulacao = form.cleaned_data['user_anulacao'] protocolo.ip_anulacao = form.cleaned_data['ip_anulacao'] + protocolo.timestamp_anulacao = timezone.now() protocolo.save() return redirect(self.get_success_url())