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
|
// formatter for production order operation
|
||||||
frm.set_indicator_formatter('operation',
|
frm.set_indicator_formatter('operation',
|
||||||
function(doc) { return (frm.doc.qty==doc.completed_qty) ? "green" : "orange" })
|
function(doc) { return (frm.doc.qty==doc.completed_qty) ? "green" : "orange" });
|
||||||
|
|
||||||
erpnext.production_order.set_custom_buttons(frm);
|
|
||||||
},
|
},
|
||||||
|
|
||||||
refresh: function(frm) {
|
refresh: function(frm) {
|
||||||
|
Loading…
Reference in New Issue
Block a user