Merge pull request #16895 from Alchez/hotfix-shipping-charge-override

fix(transaction): Fix shipping rule charge override by tax template
This commit is contained in:
Nabin Hait 2019-04-04 11:48:48 +05:30 committed by GitHub
commit b861c4bc46
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1393,7 +1393,9 @@ erpnext.TransactionController = erpnext.taxes_and_totals.extend({
},
callback: function(r) {
if(!r.exc) {
me.frm.set_value("taxes", r.message);
for (let tax of r.message) {
me.frm.add_child("taxes", tax);
}
me.calculate_taxes_and_totals();
}
}