mirror of
https://github.com/OCA/pms.git
synced 2025-01-29 00:17:45 +02:00
[FIX]pms_api_rest: avoid use obsolete vat_document_type field
This commit is contained in:
@@ -124,7 +124,7 @@ class PmsPartnerService(Component):
|
||||
if partner.aeat_identification
|
||||
else None,
|
||||
vatDocumentType="02"
|
||||
if partner.vat_document_type
|
||||
if partner.vat
|
||||
else partner.aeat_identification_type
|
||||
if partner.aeat_identification_type
|
||||
else None,
|
||||
@@ -444,7 +444,7 @@ class PmsPartnerService(Component):
|
||||
if partner.aeat_identification
|
||||
else None,
|
||||
vatDocumentType="02"
|
||||
if partner.vat_document_type
|
||||
if partner.vat
|
||||
else partner.aeat_identification_type
|
||||
if partner.aeat_identification_type
|
||||
else None,
|
||||
|
||||
Reference in New Issue
Block a user