Typo Fix in Work Order

This commit is contained in:
Kanchan Chauhan 2018-04-25 12:32:12 +05:30
parent 1d5bbe1081
commit 7826dd1aeb

View File

@ -290,7 +290,7 @@ erpnext.work_order = {
if (doc.docstatus === 1) {
if (doc.status != 'Stopped' && doc.status != 'Completed') {
frm.add_custom_button(__('Stop'), function() {
erpnext.wokr_order.stop_work_order(frm, "Stopped");
erpnext.work_order.stop_work_order(frm, "Stopped");
}, __("Status"));
} else if (doc.status == 'Stopped') {
frm.add_custom_button(__('Re-open'), function() {