From 4cf346c082d16fbc0d2bf2ff4b1b424c23760b48 Mon Sep 17 00:00:00 2001 From: Rohit Waghchaure Date: Wed, 4 Nov 2020 13:10:03 +0530 Subject: [PATCH] fix: sequence id override with operation column --- erpnext/manufacturing/doctype/routing/routing.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/erpnext/manufacturing/doctype/routing/routing.js b/erpnext/manufacturing/doctype/routing/routing.js index 741a3f01fd..c5af833d7f 100644 --- a/erpnext/manufacturing/doctype/routing/routing.js +++ b/erpnext/manufacturing/doctype/routing/routing.js @@ -2,7 +2,7 @@ // For license information, please see license.txt frappe.ui.form.on('Routing', { - setup: function(frm) { + onload: function(frm) { frappe.meta.get_docfield("BOM Operation", "sequence_id", frm.doc.name).in_list_view = true;