From c79575f7b9ee28bd0891b2dc50a4bba2e61b6952 Mon Sep 17 00:00:00 2001 From: Pablo Date: Fri, 8 Mar 2019 16:30:16 +0100 Subject: [PATCH] [UPD] display extra info as channel message --- .../models/hotel_reservation/common.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/hotel_channel_connector_wubook/models/hotel_reservation/common.py b/hotel_channel_connector_wubook/models/hotel_reservation/common.py index 0e86668f2..02d56880b 100644 --- a/hotel_channel_connector_wubook/models/hotel_reservation/common.py +++ b/hotel_channel_connector_wubook/models/hotel_reservation/common.py @@ -36,10 +36,10 @@ class ChannelHotelReservation(models.Model): self.env['hotel.channel.connector.issue'].create({ 'backend_id': record.backend_id.id, 'section': 'reservation', - 'internal_message': "Disagreement in reservation price. Odoo marked %.2f whereas the channel sent %.2f. %s" % ( + 'internal_message': "Disagreement in reservation price. Odoo marked %.2f whereas the channel sent %.2f." % ( record.odoo_id.price_room_services_set, - record.channel_total_amount, - 'Please, review the board services included in the reservation.'), + record.channel_total_amount), + 'channel_message': 'Please, review the board services included in the reservation.', 'channel_object_id': record.external_id })