From 6f812ccaf5eb55fa9253f7d90093711db24aeeaa Mon Sep 17 00:00:00 2001 From: Mihir Kandoi Date: Tue, 17 Feb 2026 15:39:52 +0530 Subject: [PATCH] fix: allow sequence id edit in BOM if routing is not set (cherry picked from commit 08529964b4407faee3ab3f6d6890fccc17ab038d) --- .../manufacturing/doctype/bom_operation/bom_operation.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/erpnext/manufacturing/doctype/bom_operation/bom_operation.json b/erpnext/manufacturing/doctype/bom_operation/bom_operation.json index 27025c12fdb..ad33af6dfff 100644 --- a/erpnext/manufacturing/doctype/bom_operation/bom_operation.json +++ b/erpnext/manufacturing/doctype/bom_operation/bom_operation.json @@ -146,7 +146,7 @@ "label": "Batch Size" }, { - "depends_on": "eval:doc.parenttype == \"Routing\"", + "depends_on": "eval:doc.parenttype == \"Routing\" || !parent.routing", "description": "If you want to run operations in parallel, keep the same sequence ID for them.", "fieldname": "sequence_id", "fieldtype": "Int", @@ -297,7 +297,7 @@ "index_web_pages_for_search": 1, "istable": 1, "links": [], - "modified": "2026-01-01 17:15:59.806874", + "modified": "2026-02-17 15:33:28.495850", "modified_by": "Administrator", "module": "Manufacturing", "name": "BOM Operation",