mirror of
https://github.com/OCA/pms.git
synced 2025-01-29 00:17:45 +02:00
[FIX] pms-api-rest: fix filter by property @ cancelation rule service
This commit is contained in:
committed by
Darío Lodeiros
parent
08cf976977
commit
5d72ef1472
@@ -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 = []
|
||||
|
||||
Reference in New Issue
Block a user