mirror of
https://github.com/OCA/pms.git
synced 2025-01-29 00:17:45 +02:00
[FIX] Change recordset domain
This commit is contained in:
@@ -310,7 +310,7 @@ class HotelReservationImporter(Component):
|
||||
])
|
||||
used_rooms = []
|
||||
if modified_reservations:
|
||||
used_rooms = modified_reservations.mapped('room_id')
|
||||
used_rooms = modified_reservations.mapped('room_id.id')
|
||||
reservation = reservations.filtered(
|
||||
lambda res: res.room_type_id == room_type_bind.odoo_id and
|
||||
res.checkin == checkin and res.checkout == checkout and
|
||||
|
||||
Reference in New Issue
Block a user