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

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'));
}
}