mirror of
https://github.com/OCA/pms.git
synced 2025-01-29 00:17:45 +02:00
[UPD] display extra info as channel message
This commit is contained in:
@@ -36,10 +36,10 @@ class ChannelHotelReservation(models.Model):
|
|||||||
self.env['hotel.channel.connector.issue'].create({
|
self.env['hotel.channel.connector.issue'].create({
|
||||||
'backend_id': record.backend_id.id,
|
'backend_id': record.backend_id.id,
|
||||||
'section': 'reservation',
|
'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.odoo_id.price_room_services_set,
|
||||||
record.channel_total_amount,
|
record.channel_total_amount),
|
||||||
'Please, review the board services included in the reservation.'),
|
'channel_message': 'Please, review the board services included in the reservation.',
|
||||||
'channel_object_id': record.external_id
|
'channel_object_id': record.external_id
|
||||||
})
|
})
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user