mirror of
https://github.com/OCA/pms.git
synced 2025-01-29 00:17:45 +02:00
[FIX] add segmentation on checkin
This commit is contained in:
@@ -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(
|
||||
|
||||
Reference in New Issue
Block a user