[minor] Freeze the screen to avoid multiple time clicks (#15047)
This commit is contained in:
parent
d305a7a959
commit
1fa5698798
@ -166,6 +166,7 @@ erpnext.stock.move_item = function(item, source, target, actual_qty, rate, callb
|
||||
frappe.call({
|
||||
method: 'erpnext.stock.doctype.stock_entry.stock_entry_utils.make_stock_entry',
|
||||
args: values,
|
||||
freeze: true,
|
||||
callback: function(r) {
|
||||
frappe.show_alert(__('Stock Entry {0} created',
|
||||
['<a href="#Form/Stock Entry/'+r.message.name+'">' + r.message.name+ '</a>']));
|
||||
|
Loading…
x
Reference in New Issue
Block a user