fix: stop button not working in material request

This commit is contained in:
Rohit Waghchaure 2019-02-19 19:18:07 +05:30
parent ff6d2692d3
commit 389cd6ad63

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