[FIX] Vals ids segmentation

This commit is contained in:
Darío Lodeiros
2019-08-05 13:22:04 +02:00
committed by Dario Lodeiros
parent 3108bc8f8d
commit eb1e98ff91

View File

@@ -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)