[FIX]pms_api_rest: added residence_country_id in checkin_partner datamodel and services

This commit is contained in:
braisab
2022-10-13 17:06:11 +02:00
committed by Darío Lodeiros
parent b95cc10517
commit cfaf41a225
5 changed files with 21 additions and 13 deletions

View File

@@ -334,6 +334,9 @@ class PmsPartnerService(Component):
nationality=doc_number.partner_id.nationality_id.id
if doc_number.partner_id.nationality_id
else None,
countryId=doc_number.partner_id.residence_country_id
if doc_number.partner_id.residence_country_id
else None,
countryState=doc_number.partner_id.residence_state_id.id
if doc_number.partner_id.residence_state_id
else None,