From 6201fefdfba02f5255b91827a8ee77898dc50be6 Mon Sep 17 00:00:00 2001 From: Mihir Kandoi Date: Tue, 9 Jun 2026 17:57:54 +0530 Subject: [PATCH] fix: show inactive product bundles in item where used (#55769) --- erpnext/stock/report/item_where_used/item_where_used.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/erpnext/stock/report/item_where_used/item_where_used.py b/erpnext/stock/report/item_where_used/item_where_used.py index e778099d573..24784ed9180 100644 --- a/erpnext/stock/report/item_where_used/item_where_used.py +++ b/erpnext/stock/report/item_where_used/item_where_used.py @@ -294,7 +294,7 @@ def get_product_bundle_component_rows(item): def get_product_bundle_parent_rows(item): rows = frappe.get_all( "Product Bundle", - filters={"new_item_code": item, "is_active": 1, "docstatus": 1}, + filters={"new_item_code": item, "docstatus": 1}, fields=["name", "new_item_code", "is_active", "disabled"], order_by="name asc", ) @@ -463,7 +463,7 @@ def get_product_bundle_map(bundle_names): row.name: row for row in frappe.get_all( "Product Bundle", - filters={"name": ["in", bundle_names], "is_active": 1, "docstatus": 1}, + filters={"name": ["in", bundle_names], "docstatus": 1}, fields=["name", "new_item_code", "is_active", "disabled"], ) }