From d4696e94463fae1571f05ba498c2cb8700397990 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Dar=C3=ADo=20Lodeiros?= Date: Sun, 18 Sep 2022 17:24:00 +0200 Subject: [PATCH] [FIX]pms: INE multichannel origin --- pms_l10n_es/wizards/wizard_ine.py | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/pms_l10n_es/wizards/wizard_ine.py b/pms_l10n_es/wizards/wizard_ine.py index f9755318c..f4eab7bb1 100644 --- a/pms_l10n_es/wizards/wizard_ine.py +++ b/pms_l10n_es/wizards/wizard_ine.py @@ -694,11 +694,13 @@ class WizardIne(models.TransientModel): ("reservation_id.partner_id.is_company", "=", False), ], "groups": [("reservation_id.folio_id.number_of_rooms", ">=", 4)], - "internet": [("reservation_id.channel_type_id.is_on_line", "=", True)], + "internet": [ + ("reservation_id.sale_channel_origin_id.is_on_line", "=", True) + ], "others": [ "|", - ("reservation_id.channel_type_id.is_on_line", "!=", True), - ("reservation_id.channel_type_id", "=", False), + ("reservation_id.sale_channel_origin_id.is_on_line", "!=", True), + ("reservation_id.sale_channel_origin_id", "=", False), ], }