From fc9b6c7ce1e181434b33bb33dc904429d6a0a481 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Dar=C3=ADo=20Lodeiros?= Date: Thu, 25 Jul 2024 09:20:24 +0200 Subject: [PATCH] [FIX]connector_pms_wubook: fix children key in mapped reservation lines --- connector_pms_wubook/models/pms_folio/adapter.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/connector_pms_wubook/models/pms_folio/adapter.py b/connector_pms_wubook/models/pms_folio/adapter.py index 67ccd94449..788cd20ee6 100644 --- a/connector_pms_wubook/models/pms_folio/adapter.py +++ b/connector_pms_wubook/models/pms_folio/adapter.py @@ -310,8 +310,7 @@ def _reorg_folio_data(self, values): "room_id": room_id, "board": board, "occupancy": occupancies_d.get(room_id) or 1, - "occupancy_children": occupancies_d_children.get(room_id) - or 0, + "children": occupancies_d_children.get(room_id) or 0, "board_included": id_channel != 0, "vat_included": vat_included, "agency_id": agency.id if agency else False,