Merge pull request #13784 from KanchanChauhan/typo-fix

[Typo Fix] in Work Order
This commit is contained in:
Manas Solanki 2018-04-25 17:23:36 +05:30 committed by GitHub
commit 30c267bec6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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() {