mirror of
https://github.com/frappe/erpnext.git
synced 2026-05-21 22:19:18 +00:00
* fix: added freeze when trying to stop work order * fix(ux): add freeze message Co-authored-by: Noah Jacob <noahjacobkurian@gmail.com>
This commit is contained in:
@@ -704,6 +704,8 @@ erpnext.work_order = {
|
|||||||
stop_work_order: function(frm, status) {
|
stop_work_order: function(frm, status) {
|
||||||
frappe.call({
|
frappe.call({
|
||||||
method: "erpnext.manufacturing.doctype.work_order.work_order.stop_unstop",
|
method: "erpnext.manufacturing.doctype.work_order.work_order.stop_unstop",
|
||||||
|
freeze: true,
|
||||||
|
freeze_message: __("Updating Work Order status"),
|
||||||
args: {
|
args: {
|
||||||
work_order: frm.doc.name,
|
work_order: frm.doc.name,
|
||||||
status: status
|
status: status
|
||||||
|
|||||||
Reference in New Issue
Block a user