mirror of
https://github.com/OCA/pms.git
synced 2025-01-29 00:17:45 +02:00
[FIX] Vals ids segmentation
This commit is contained in:
committed by
Dario Lodeiros
parent
3108bc8f8d
commit
eb1e98ff91
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user