[FIX] pms-l10n-es: fix document type @ traveller report (change name by code)

This commit is contained in:
miguelpadin
2021-10-26 11:45:35 +02:00
parent 0bba3aa9b6
commit e4da0abf8c

View File

@@ -105,7 +105,7 @@ class TravellerReport(models.TransientModel):
content += "||" + line.document_number.upper() + "|"
else:
content += "|" + line.document_number.upper() + "||"
content += line.document_type.name + "|"
content += line.document_type.code + "|"
content += line.document_expedition_date.strftime("%Y%m%d") + "|"
content += line.lastname.upper() + "|"
if line.lastname2: