fix: query for multiselect filter

(cherry picked from commit e7239e02d4)
This commit is contained in:
Gursheen Anand
2023-09-27 13:02:52 +05:30
committed by Mergify
parent 2b30727fdc
commit 6d7aa2ae94

View File

@@ -801,7 +801,7 @@ class ReceivablePayableReport(object):
self.qb_selection_filter.append(self.filters.party_type == self.ple.party_type)
if self.filters.get("party"):
self.qb_selection_filter.append(self.filters.party == self.ple.party)
self.qb_selection_filter.append(self.ple.party.isin(self.filters.party))
if self.filters.party_account:
self.qb_selection_filter.append(self.ple.account == self.filters.party_account)