From 1f3fc2a853978042dff6de1a6e152fdd3fb995cb Mon Sep 17 00:00:00 2001 From: LeandroJatai Date: Mon, 15 Aug 2022 03:27:55 -0300 Subject: [PATCH] =?UTF-8?q?HOT-FIX:=20reinclui=20property=20epigrafe=20at?= =?UTF-8?q?=C3=A9=20retirar=20da=20app=20sessao?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- sapl/protocoloadm/models.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/sapl/protocoloadm/models.py b/sapl/protocoloadm/models.py index 883ca4274..3be4e28cf 100644 --- a/sapl/protocoloadm/models.py +++ b/sapl/protocoloadm/models.py @@ -314,6 +314,10 @@ class DocumentoAdministrativo(models.Model): def __str__(self): return self._identificacao_de_documento + @property + def epigrafe(self): + return str(self) + def delete(self, using=None, keep_parents=False): texto_integral = self.texto_integral result = super().delete(using=using, keep_parents=keep_parents)