mirror of
https://github.com/OCA/pms.git
synced 2025-01-29 00:17:45 +02:00
[IMP]pms_api_rest: added defaultCode field in room type class datamodel
This commit is contained in:
@@ -49,6 +49,7 @@ class PmsRoomTypeClassService(Component):
|
||||
PmsRoomTypeClassInfo(
|
||||
id=room.id,
|
||||
name=room.name,
|
||||
defaultCode=room.default_code if room.default_code else None,
|
||||
pmsPropertyIds=room.pms_property_ids.mapped("id"),
|
||||
)
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user