mirror of
https://github.com/OCA/pms.git
synced 2025-01-29 00:17:45 +02:00
[IMP] pms: sort rooms by capacity @ room service
This commit is contained in:
committed by
Darío Lodeiros
parent
59ccfd02cc
commit
adb83b6184
@@ -35,7 +35,7 @@ class PmsRoomService(Component):
|
||||
PmsRoomInfo = self.env.datamodels["pms.room.info"]
|
||||
for room in self.env["pms.room"].search(
|
||||
domain,
|
||||
):
|
||||
).sorted("capacity"):
|
||||
|
||||
result_rooms.append(
|
||||
PmsRoomInfo(
|
||||
|
||||
Reference in New Issue
Block a user