mirror of
https://github.com/OCA/pms.git
synced 2025-01-29 00:17:45 +02:00
[FIX] Mark __all__ channel room_type avail ids as pushed
Some availability may keep unpushed. The channel_room_type_avails references only to the availability of the last room type because of the for loop! Use channel_room_type_avail_ids instead.
This commit is contained in:
@@ -63,7 +63,7 @@ class HotelRoomTypeAvailabilityExporter(Component):
|
||||
channel_message=err.data['message'])
|
||||
return False
|
||||
else:
|
||||
channel_room_type_avails.with_context({
|
||||
channel_room_type_avail_ids.with_context({
|
||||
'connector_no_export': True,
|
||||
}).write({
|
||||
'channel_pushed': True,
|
||||
|
||||
Reference in New Issue
Block a user