mirror of
https://github.com/OCA/pms.git
synced 2025-01-29 00:17:45 +02:00
[FIX] pms-l10n-es: fix document type @ traveller report (change name by code)
This commit is contained in:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user