diff --git a/hotel/models/hotel_reservation.py b/hotel/models/hotel_reservation.py index 3b73f75e0..4287ed8fd 100644 --- a/hotel/models/hotel_reservation.py +++ b/hotel/models/hotel_reservation.py @@ -960,8 +960,8 @@ class HotelReservation(models.Model): master_reservation = self.parent_reservation or self splitted_reservs = self.env['hotel.reservation'].search([ - ('splitted', '=', True), '|', + ('splitted', '=', True), ('id', '=', master_reservation.id), # This here because can create a splitted reserv before set as splitted the parent reservation (master) ('folio_id', '=', self.folio_id.id), '|',