pre-commit

This commit is contained in:
Sara Lago
2022-03-01 11:09:37 +01:00
committed by Darío Lodeiros
parent 7d8d6bf0d6
commit cef4d0df07
3 changed files with 29 additions and 21 deletions

View File

@@ -33,9 +33,13 @@ class PmsRoomService(Component):
result_rooms = []
PmsRoomInfo = self.env.datamodels["pms.room.info"]
for room in self.env["pms.room"].search(
domain,
).sorted("capacity"):
for room in (
self.env["pms.room"]
.search(
domain,
)
.sorted("capacity")
):
result_rooms.append(
PmsRoomInfo(