mirror of
https://github.com/OCA/pms.git
synced 2025-01-29 00:17:45 +02:00
[ADD] Board service in reservation
This commit is contained in:
@@ -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'),
|
||||
|
||||
@@ -189,6 +189,7 @@
|
||||
<group colspan="4" string="Reservation Details" name="reservation_details">
|
||||
<field name="arrival_hour"/>
|
||||
<field name="departure_hour"/>
|
||||
<field name="board_service_id" />
|
||||
<field name="name"/>
|
||||
<field name="adults"/>
|
||||
<field name="children"/>
|
||||
|
||||
Reference in New Issue
Block a user