diff --git a/hotel/models/hotel_reservation.py b/hotel/models/hotel_reservation.py index 332178131..d66e9c6dc 100644 --- a/hotel/models/hotel_reservation.py +++ b/hotel/models/hotel_reservation.py @@ -1058,8 +1058,9 @@ class HotelReservation(models.Model): 'view_id': view_id, 'context': { 'reservation_id': reservation_id, + 'default_reservation_id': reservation_id, + 'default_folio_id': self.folio_id, }, - 'flags': {'initial_mode': 'edit'}, 'domain': [('reservation_id', '=', self.id)], 'target': 'new', } diff --git a/hotel/views/hotel_checkin_partner_views.xml b/hotel/views/hotel_checkin_partner_views.xml index bbbbac859..ca50a8536 100644 --- a/hotel/views/hotel_checkin_partner_views.xml +++ b/hotel/views/hotel_checkin_partner_views.xml @@ -4,7 +4,7 @@ hotel.checkin.partner 20 -