[IMP]14.0-pms_api_rest: documentCountryId field in partner datamodel

This commit is contained in:
braisab
2024-04-15 14:52:54 +02:00
committed by Darío Lodeiros
parent 0fcd8ef49e
commit 7bbc603b33
2 changed files with 2 additions and 0 deletions

View File

@@ -260,6 +260,7 @@ class PmsPartnerService(Component):
documentSupportNumber=document_support_number
if document_support_number
else None,
documentCountryId=doc_number.country_id.id if doc_number.country_id else None,
vatNumber=partner.vat
if partner.vat
else partner.aeat_identification