diff --git a/hotel/data/hotel_demo.xml b/hotel/data/hotel_demo.xml
index 50be034ab..e6b6694e5 100644
--- a/hotel/data/hotel_demo.xml
+++ b/hotel/data/hotel_demo.xml
@@ -193,7 +193,7 @@
False
1
True
- True
+ True
@@ -206,7 +206,7 @@
- Menú A
+ Lunch
15.0
service
False
@@ -215,7 +215,7 @@
- Menú B
+ Dinner
20.0
service
False
@@ -224,8 +224,8 @@
- Menú C
- 25.0
+ Free Bar
+ 40.0
service
False
True
@@ -249,7 +249,7 @@
eval="[(5, 0), (0, 0, {
'product_id': ref('hotel_service_0'),
'amount': 3}),
- (0, 0, {'product_id': ref('hotel_service_4'),
+ (0, 0, {'product_id': ref('hotel_service_5'),
'amount': 8})
]"/>
fixed
@@ -271,7 +271,7 @@
-
+
diff --git a/hotel/models/inherited_product_template.py b/hotel/models/inherited_product_template.py
index 5a7ba560d..ce70952a1 100644
--- a/hotel/models/inherited_product_template.py
+++ b/hotel/models/inherited_product_template.py
@@ -11,5 +11,5 @@ class ProductTemplate(models.Model):
per_person = fields.Boolean('Unit increment per person')
daily_limit = fields.Integer('Daily limit')
is_extra_bed = fields.Boolean('Is extra bed', default=False)
- is_popoverable = fields.Boolean('Show in Popover', default=False,
- help='Specifies if the product is shown in the popover information.')
+ show_in_calendar = fields.Boolean('Show in Calendar', default=False,
+ help='Specifies if the product is shown in the calendar information.')
diff --git a/hotel/views/inherited_product_template_views.xml b/hotel/views/inherited_product_template_views.xml
index c4233cbc7..2b3a54f1f 100644
--- a/hotel/views/inherited_product_template_views.xml
+++ b/hotel/views/inherited_product_template_views.xml
@@ -12,7 +12,7 @@
-
+
diff --git a/hotel_calendar/models/inherited_hotel_reservation.py b/hotel_calendar/models/inherited_hotel_reservation.py
index 0bea4cc0b..5d685e90d 100644
--- a/hotel_calendar/models/inherited_hotel_reservation.py
+++ b/hotel_calendar/models/inherited_hotel_reservation.py
@@ -197,7 +197,7 @@ class HotelReservation(models.Model):
pt.name as room_type,
- array_agg(pt2.name) FILTER (WHERE pt2.is_popoverable = TRUE) as services,
+ array_agg(pt2.name) FILTER (WHERE pt2.show_in_calendar = TRUE) as services,
rcr.name as closure_reason,
@@ -426,7 +426,7 @@ class HotelReservation(models.Model):
'channel_type': self.channel_type,
'board_service_name': self.board_service_room_id.hotel_board_service_id.name,
'services': [service.product_id.name for service in self.service_ids
- if service.product_id.is_popoverable] or False,
+ if service.product_id.show_in_calendar] or False,
}
@api.multi