mirror of
https://github.com/OCA/pms.git
synced 2025-01-29 00:17:45 +02:00
[IMP]14.0-pms_api_rest: added residence state name in checkin partner datamodel
This commit is contained in:
@@ -596,6 +596,9 @@ class PmsReservationService(Component):
|
||||
countryState=checkin_partner.residence_state_id.id
|
||||
if checkin_partner.residence_state_id
|
||||
else None,
|
||||
countryStateName=checkin_partner.residence_state_id.name
|
||||
if checkin_partner.residence_state_id
|
||||
else None,
|
||||
countryId=checkin_partner.residence_country_id.id
|
||||
if checkin_partner.residence_country_id
|
||||
else None,
|
||||
|
||||
Reference in New Issue
Block a user