Update production_order.js
This commit is contained in:
parent
88a37c17a6
commit
e927b81292
@ -90,9 +90,7 @@ frappe.ui.form.on("Production Order", {
|
||||
|
||||
// formatter for production order operation
|
||||
frm.set_indicator_formatter('operation',
|
||||
function(doc) { return (frm.doc.qty==doc.completed_qty) ? "green" : "orange" })
|
||||
|
||||
erpnext.production_order.set_custom_buttons(frm);
|
||||
function(doc) { return (frm.doc.qty==doc.completed_qty) ? "green" : "orange" });
|
||||
},
|
||||
|
||||
refresh: function(frm) {
|
||||
@ -381,4 +379,4 @@ erpnext.production_order = {
|
||||
}
|
||||
})
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user