Merge pull request #16722 from rohitwaghchaure/stop_button_not_working

fix: stop button not working in material request
This commit is contained in:
rohitwaghchaure 2019-02-20 12:30:26 +05:30 committed by GitHub
commit e141865c43
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -85,7 +85,7 @@ frappe.ui.form.on('Material Request', {
// stop
frm.add_custom_button(__('Stop'),
() => frm.events.update_status(frm, 'Stop'));
() => frm.events.update_status(frm, 'Stopped'));
}
}