fix: warehouse filter in BOM Stock Calculated Report
This commit is contained in:
parent
8fd7c04920
commit
390ce5719d
@ -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)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user