[IMP] pms: sort rooms by capacity @ room service

This commit is contained in:
miguelpadin
2022-02-18 09:06:23 +00:00
committed by Darío Lodeiros
parent 59ccfd02cc
commit adb83b6184

View File

@@ -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(