fix(transaction): Avoid shipping rule charge override by tax template

This commit is contained in:
Rohan Bansal 2019-03-11 14:48:26 +05:30
parent 94561607f0
commit 90972cfbf9

View File

@ -1313,7 +1313,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();
}
}