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:
commit
b861c4bc46
@ -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();
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user