Update production_order.js

This commit is contained in:
Nabin Hait 2017-07-06 23:11:54 +05:30 committed by GitHub
parent 88a37c17a6
commit e927b81292

View File

@ -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 = {
}
})
}
}
}