fix(Work Order): added freeze when trying to stop work order (#26192)
* fix: added freeze when trying to stop work order * fix(ux): add freeze message
This commit is contained in:
parent
ca8c3b90f0
commit
b2b7369874
@ -704,6 +704,8 @@ erpnext.work_order = {
|
||||
stop_work_order: function(frm, status) {
|
||||
frappe.call({
|
||||
method: "erpnext.manufacturing.doctype.work_order.work_order.stop_unstop",
|
||||
freeze: true,
|
||||
freeze_message: __("Updating Work Order status"),
|
||||
args: {
|
||||
work_order: frm.doc.name,
|
||||
status: status
|
||||
|
Loading…
x
Reference in New Issue
Block a user