mirror of
https://github.com/OCA/pms.git
synced 2025-01-29 00:17:45 +02:00
[FIX] empty services string shown after bus notification
This commit is contained in:
@@ -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],
|
||||
if service.product_id.is_popoverable] or False,
|
||||
}
|
||||
|
||||
@api.multi
|
||||
|
||||
@@ -132,7 +132,7 @@
|
||||
</div>
|
||||
<div class="row row-eq-height mt-10">
|
||||
<div class="col-sm-12">
|
||||
<t t-if="services != False">
|
||||
<t t-if="services">
|
||||
<i class="fa fa-exclamation-circle fa-pull-left"/> This reservation requires: <t t-esc="services"/>
|
||||
</t>
|
||||
<t t-if="splitted">
|
||||
|
||||
Reference in New Issue
Block a user