freeze screen while waiting for updates on subscription

This commit is contained in:
tundebabzy 2018-03-01 08:45:56 +01:00
parent 328adedbc8
commit a93fa16bce

View File

@ -67,6 +67,7 @@ frappe.ui.form.on('Subscriptions', {
method:
"erpnext.accounts.doctype.subscriptions.subscriptions.get_subscription_updates",
args: {name: doc.name},
freeze: true,
callback: function(data){
if(!data.exc){
frm.reload_doc();