Browse Source

Alteração da ordenação de documentos administrativos e correção da view de correspondencias (#3603)

Co-authored-by: joao <joao@mezzoplanejamento.com.br>
pull/3605/head
joaohortsenado 2 years ago
committed by GitHub
parent
commit
f29c1d00e1
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      sapl/protocoloadm/models.py

2
sapl/protocoloadm/models.py

@ -251,7 +251,7 @@ class DocumentoAdministrativo(models.Model):
class Meta: class Meta:
verbose_name = _('Documento Administrativo') verbose_name = _('Documento Administrativo')
verbose_name_plural = _('Documentos Administrativos') verbose_name_plural = _('Documentos Administrativos')
ordering = ('id',) ordering = ('ano', 'numero', 'id',)
@classmethod @classmethod
def mask_to_str(cls, values, mask): def mask_to_str(cls, values, mask):

Loading…
Cancel
Save