From 1fa56987981f597e9732b1837d4f0be54add6197 Mon Sep 17 00:00:00 2001 From: rohitwaghchaure Date: Mon, 30 Jul 2018 19:11:43 +0530 Subject: [PATCH] [minor] Freeze the screen to avoid multiple time clicks (#15047) --- erpnext/stock/dashboard/item_dashboard.js | 1 + 1 file changed, 1 insertion(+) diff --git a/erpnext/stock/dashboard/item_dashboard.js b/erpnext/stock/dashboard/item_dashboard.js index edd594afb86..157dbfe1749 100644 --- a/erpnext/stock/dashboard/item_dashboard.js +++ b/erpnext/stock/dashboard/item_dashboard.js @@ -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', ['' + r.message.name+ '']));