fix: broken dimension filters in Sales/Purchase register
diff --git a/erpnext/accounts/report/utils.py b/erpnext/accounts/report/utils.py
index 0912c72..aed338a7 100644
--- a/erpnext/accounts/report/utils.py
+++ b/erpnext/accounts/report/utils.py
@@ -368,7 +368,7 @@
dimension.document_type, filters.get(dimension.fieldname)
)
fieldname = dimension.fieldname
- query = query.where(parent_doc[fieldname] == filters.fieldname)
+ query = query.where(parent_doc[fieldname].isin(filters[fieldname]))
return query