mirror of
https://github.com/OCA/pms.git
synced 2025-01-29 00:17:45 +02:00
[IMP] Source Comment
This commit is contained in:
@@ -962,7 +962,7 @@ class HotelReservation(models.Model):
|
||||
splitted_reservs = self.env['hotel.reservation'].search([
|
||||
'|',
|
||||
('splitted', '=', True),
|
||||
('id', '=', master_reservation.id),
|
||||
('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),
|
||||
'|',
|
||||
('parent_reservation', '=', master_reservation.id),
|
||||
|
||||
Reference in New Issue
Block a user