diff --git a/erpnext/stock/report/item_prices/item_prices.py b/erpnext/stock/report/item_prices/item_prices.py index e722472461..680a5c2ece 100644 --- a/erpnext/stock/report/item_prices/item_prices.py +++ b/erpnext/stock/report/item_prices/item_prices.py @@ -47,7 +47,7 @@ def get_item_details(): for i in frappe.db.sql("select it.item_group as item_group, it.name as name, item_name, it.description as description, \ stock_uom from tabItem it, `tabItem Group` itg \ - where it.item_group = itg.name \ + where it.item_group = itg.name and it.disabled = 0\ order by it.item_group, item_code", as_dict=1): item_map.setdefault(i.name, i)