fix: on save sequence id column override with workstation

This commit is contained in:
Rohit Waghchaure 2020-11-04 13:26:03 +05:30
parent d961d6cdc9
commit dd87bcfda0

View File

@ -2,7 +2,15 @@
// For license information, please see license.txt
frappe.ui.form.on('Routing', {
refresh: function(frm) {
frm.trigger("display_sequence_id_column");
},
onload: function(frm) {
frm.trigger("display_sequence_id_column");
},
display_sequence_id_column: function(frm) {
frappe.meta.get_docfield("BOM Operation", "sequence_id",
frm.doc.name).in_list_view = true;