Browse Source

Fix #2054 (#2056)

pull/2067/head
Victor Fabre 7 years ago
committed by Edward
parent
commit
79efc588a4
  1. 3
      sapl/relatorios/views.py

3
sapl/relatorios/views.py

@ -963,7 +963,8 @@ def get_etiqueta_protocolos(prots):
dic['num_documento'] = '' dic['num_documento'] = ''
for documento in DocumentoAdministrativo.objects.filter( for documento in DocumentoAdministrativo.objects.filter(
protocolo=p): protocolo=p):
dic['num_documento'] = str(documento) dic['num_documento'] = documento.tipo.sigla + ' ' + \
str(documento.numero) + '/' + str(documento.ano)
dic['ident_processo'] = dic['num_materia'] or dic['num_documento'] dic['ident_processo'] = dic['num_materia'] or dic['num_documento']

Loading…
Cancel
Save