From b96d30707ea6030e81e952643cdf31ddc278a26c Mon Sep 17 00:00:00 2001 From: Eric Antones Date: Sun, 24 Oct 2021 20:07:53 +0200 Subject: [PATCH] [FIX] connector_pms_wubook: board service not imported on booking reservations --- connector_pms_wubook/models/pms_folio/adapter.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/connector_pms_wubook/models/pms_folio/adapter.py b/connector_pms_wubook/models/pms_folio/adapter.py index cbd9eeba584..416e55d59a9 100644 --- a/connector_pms_wubook/models/pms_folio/adapter.py +++ b/connector_pms_wubook/models/pms_folio/adapter.py @@ -264,7 +264,7 @@ def _reorg_folio_data(self, values): board = boards_d.get(room_id) elif id_channel == 2: # Board services can be included in the rate plan and detected by the WuBook API - detected_board = room.get("ancillary", {}).get("Detected Board") + detected_board = value.get("ancillary", {}).get("Detected Board") board = detected_board != "nb" and detected_board or None else: raise ValidationError(