From 3deab36d2e0564f889171925fd53ac2e2da9809d Mon Sep 17 00:00:00 2001 From: Mihir Kandoi Date: Mon, 1 Jun 2026 12:26:58 +0530 Subject: [PATCH] fix: remove old subcontracting flow references in BOM (#55477) --- erpnext/manufacturing/doctype/bom/bom_dashboard.py | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/erpnext/manufacturing/doctype/bom/bom_dashboard.py b/erpnext/manufacturing/doctype/bom/bom_dashboard.py index d8a810bd0ad..e9bb9bf2e3f 100644 --- a/erpnext/manufacturing/doctype/bom/bom_dashboard.py +++ b/erpnext/manufacturing/doctype/bom/bom_dashboard.py @@ -7,22 +7,18 @@ def get_data(): "non_standard_fieldnames": { "Item": "default_bom", "Purchase Order": "bom", - "Purchase Receipt": "bom", - "Purchase Invoice": "bom", }, "transactions": [ {"label": _("Stock"), "items": ["Item", "Stock Entry", "Quality Inspection"]}, {"label": _("Manufacture"), "items": ["BOM", "Work Order", "Job Card"]}, { "label": _("Subcontract"), - "items": ["Purchase Order", "Purchase Receipt", "Purchase Invoice"], + "items": ["Purchase Order"], }, ], "disable_create_buttons": [ "Item", "Purchase Order", - "Purchase Receipt", - "Purchase Invoice", "Job Card", "Stock Entry", "BOM",