From eb1e98ff91835e686bd3f8e3a25df36c76f5f353 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Dar=C3=ADo=20Lodeiros?= Date: Mon, 5 Aug 2019 13:22:04 +0200 Subject: [PATCH] [FIX] Vals ids segmentation --- hotel_roommatik/models/inherited_hotel_checkin_partner.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hotel_roommatik/models/inherited_hotel_checkin_partner.py b/hotel_roommatik/models/inherited_hotel_checkin_partner.py index df12d86cb..2582f5fbe 100644 --- a/hotel_roommatik/models/inherited_hotel_checkin_partner.py +++ b/hotel_roommatik/models/inherited_hotel_checkin_partner.py @@ -26,7 +26,7 @@ class HotelFolio(models.Model): 'arrival_hour': stay['Arrival_hour'], 'room_type_id': stay['RoomType']['Id'], 'partner_id': stay["Customers"][0]["Id"], - 'segmentation_ids': stay['Segmentation'], + 'segmentation_ids': (6, 0, stay['Segmentation']), 'channel_type': 'virtualdoor', } reservation_rm = reservation_obj.create(vals)