Browse Source

HOT-FIX: reinclui property epigrafe até retirar da app sessao

pull/3596/head
LeandroJatai 2 years ago
parent
commit
1f3fc2a853
  1. 4
      sapl/protocoloadm/models.py

4
sapl/protocoloadm/models.py

@ -314,6 +314,10 @@ class DocumentoAdministrativo(models.Model):
def __str__(self): def __str__(self):
return self._identificacao_de_documento return self._identificacao_de_documento
@property
def epigrafe(self):
return str(self)
def delete(self, using=None, keep_parents=False): def delete(self, using=None, keep_parents=False):
texto_integral = self.texto_integral texto_integral = self.texto_integral
result = super().delete(using=using, keep_parents=keep_parents) result = super().delete(using=using, keep_parents=keep_parents)

Loading…
Cancel
Save