fix: select multiple values for accounting dimenssion

This commit is contained in:
Rohit Waghchaure
2022-05-14 17:19:34 +05:30
parent ead08aa192
commit 69be22ba7c
7 changed files with 20 additions and 16 deletions

View File

@@ -275,7 +275,7 @@ def get_conditions(filters):
)
conditions.append("{0} in %({0})s".format(dimension.fieldname))
else:
conditions.append("{0} in (%({0})s)".format(dimension.fieldname))
conditions.append("{0} in %({0})s".format(dimension.fieldname))
return "and {}".format(" and ".join(conditions)) if conditions else ""