[fix] apply price list

in_apply_price_list flag remains true if server exception occurs
This commit is contained in:
Faris Ansari 2018-05-14 15:46:45 +05:30
parent bbee9b6cc4
commit 404f39d373

View File

@ -1094,6 +1094,8 @@ erpnext.TransactionController = erpnext.taxes_and_totals.extend({
me.in_apply_price_list = false;
}
}
}).always(() => {
me.in_apply_price_list = false;
});
},