mirror of
https://github.com/OCA/pms.git
synced 2025-01-29 00:17:45 +02:00
[FIX] pms-pwa: change field name by default code @ room service in amenityInRoomName
This commit is contained in:
committed by
Darío Lodeiros
parent
8a819cb675
commit
e38f9b7ae2
@@ -97,7 +97,7 @@ class PmsRoomService(Component):
|
||||
roomAmenityIds=room.room_amenity_ids.ids
|
||||
if room.room_amenity_ids
|
||||
else None,
|
||||
roomAmenityInName=room.room_amenity_ids.filtered(lambda x: x.is_add_code_room_name).name if
|
||||
roomAmenityInName=room.room_amenity_ids.filtered(lambda x: x.is_add_code_room_name).default_code if
|
||||
room.room_amenity_ids.filtered(lambda x: x.is_add_code_room_name).name else ''
|
||||
)
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user