[minor] Freeze the screen to avoid multiple time clicks (#15047)

This commit is contained in:
rohitwaghchaure 2018-07-30 19:11:43 +05:30 committed by Nabin Hait
parent d305a7a959
commit 1fa5698798

View File

@ -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>']));