diff --git a/hotel/__manifest__.py b/hotel/__manifest__.py index 0fd576c28..b1d1b9cfc 100644 --- a/hotel/__manifest__.py +++ b/hotel/__manifest__.py @@ -27,6 +27,7 @@ 'wizard/massive_changes.xml', 'wizard/split_reservation.xml', 'wizard/duplicate_reservation.xml', + 'wizard/service_on_day.xml', 'views/res_config.xml', 'data/menus.xml', 'views/inherited_account_payment_views.xml', diff --git a/hotel/models/hotel_service_line.py b/hotel/models/hotel_service_line.py index c5b257387..abda6b251 100644 --- a/hotel/models/hotel_service_line.py +++ b/hotel/models/hotel_service_line.py @@ -34,6 +34,9 @@ class HotelServiceLine(models.Model): @api.depends('day_qty', 'service_id.price_total') def _compute_price_total(self): + """ + Used to reports + """ for record in self: record.price_total = (record.service_id.price_total * record.day_qty) / record.service_id.product_qty diff --git a/hotel/views/hotel_reservation_views.xml b/hotel/views/hotel_reservation_views.xml index f5deee5da..2334cddf0 100644 --- a/hotel/views/hotel_reservation_views.xml +++ b/hotel/views/hotel_reservation_views.xml @@ -244,6 +244,8 @@ +