From ae6a927cd6e54430febb22044a6e48830ea08a4d Mon Sep 17 00:00:00 2001 From: Dario Lodeiros Date: Tue, 13 Aug 2019 11:55:00 +0200 Subject: [PATCH] [FIX] add segmentation on checkin --- hotel_roommatik/models/inherited_hotel_checkin_partner.py | 1 + 1 file changed, 1 insertion(+) diff --git a/hotel_roommatik/models/inherited_hotel_checkin_partner.py b/hotel_roommatik/models/inherited_hotel_checkin_partner.py index aa8aceeed..a9d1d5c0f 100644 --- a/hotel_roommatik/models/inherited_hotel_checkin_partner.py +++ b/hotel_roommatik/models/inherited_hotel_checkin_partner.py @@ -58,6 +58,7 @@ class HotelCheckinPartner(models.Model): 'enter_date': stay["Arrival"], 'exit_date': stay["Departure"], 'code_ine_id': code_ine, + 'segmentation_ids': [(6, 0, [stay['Segmentation']])], } try: record = self.env['hotel.checkin.partner'].create(