[fix] Pull subcontracted item if subassembly is not defined (#11996)

diff --git a/erpnext/manufacturing/doctype/bom/bom.py b/erpnext/manufacturing/doctype/bom/bom.py
index d0cf609..3062efc 100644
--- a/erpnext/manufacturing/doctype/bom/bom.py
+++ b/erpnext/manufacturing/doctype/bom/bom.py
@@ -542,7 +542,7 @@
 
 	if fetch_exploded:
 		query = query.format(table="BOM Explosion Item",
-			where_conditions="""and item.is_sub_contracted_item = 0""",
+			where_conditions="",
 			select_columns = ", bom_item.source_warehouse, (Select idx from `tabBOM Item` where item_code = bom_item.item_code and parent = %(parent)s ) as idx")
 		items = frappe.db.sql(query, { "parent": bom, "qty": qty,	"bom": bom }, as_dict=True)
 	elif fetch_scrap_items: