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
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
1 additions and
1 deletions
-
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): |
|
|