[FIX] pms-api-rest: fix filter by property @ cancelation rule service

This commit is contained in:
miguelpadin
2022-10-11 12:34:52 +02:00
committed by Darío Lodeiros
parent 08cf976977
commit 5d72ef1472

View File

@@ -34,7 +34,7 @@ class PmsCancelationRuleService(Component):
)
if cancelation_rule_search_param.pmsPropertyId:
domain.append(
("pms_property_ids", "in", cancelation_rule_search_param.pmsPropertyId)
("pms_property_ids", "in", [cancelation_rule_search_param.pmsPropertyId])
)
result_cancelation_rules = []