fix: warehouse filter in BOM Stock Calculated Report

This commit is contained in:
Sagar Sharma 2022-09-20 16:25:20 +05:30
parent 8fd7c04920
commit 390ce5719d

View File

@ -146,7 +146,7 @@ def get_bom_data(filters):
)
)
else:
query = query.where(bin.warehouse == frappe.db.escape(filters.get("warehouse")))
query = query.where(bin.warehouse == filters.get("warehouse"))
return query.run(as_dict=True)