From 586c619ba0692309b7e7a79be6e9c36a42b397ba Mon Sep 17 00:00:00 2001 From: Dario Lodeiros Date: Tue, 20 Nov 2018 16:21:28 +0100 Subject: [PATCH] [ADD] Board service in reservation --- hotel/models/hotel_reservation.py | 1 + hotel/views/hotel_reservation_views.xml | 1 + 2 files changed, 2 insertions(+) diff --git a/hotel/models/hotel_reservation.py b/hotel/models/hotel_reservation.py index 1c1d1218b..d4769203b 100644 --- a/hotel/models/hotel_reservation.py +++ b/hotel/models/hotel_reservation.py @@ -133,6 +133,7 @@ class HotelReservation(models.Model): track_visibility='onchange') reservation_type = fields.Selection(related='folio_id.reservation_type', default=lambda *a: 'normal') + board_service_id = fields.Many2one('hotel.board.service', string='Board Service') cancelled_reason = fields.Selection([ ('late', 'Late'), ('intime', 'In time'), diff --git a/hotel/views/hotel_reservation_views.xml b/hotel/views/hotel_reservation_views.xml index 4302f78ab..cb67aa58f 100644 --- a/hotel/views/hotel_reservation_views.xml +++ b/hotel/views/hotel_reservation_views.xml @@ -189,6 +189,7 @@ +