[FIX] Change recordset domain

This commit is contained in:
Darío Lodeiros
2019-06-15 16:50:57 +02:00
committed by GitHub
parent 43a3875b82
commit cbe526bf4d

View File

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