mirror of
https://github.com/OCA/pms.git
synced 2025-01-29 00:17:45 +02:00
[FIX] ms-api-rest: add default code field to amenity service payload
This commit is contained in:
committed by
Darío Lodeiros
parent
16b172592d
commit
0c79bd3b47
@@ -50,6 +50,7 @@ class PmsAmenityService(Component):
|
||||
name=amenity.name,
|
||||
amenityTypeId=amenity.pms_amenity_type_id.id,
|
||||
addInRoomName=amenity.is_add_code_room_name,
|
||||
defaultCode=amenity.default_code if amenity.default_code else None,
|
||||
)
|
||||
)
|
||||
return result_amenities
|
||||
|
||||
Reference in New Issue
Block a user