fix: item wise tax calculation (#23744)

This commit is contained in:
Saqib
2020-10-28 17:07:10 +05:30
committed by GitHub
parent 1dd54e457d
commit 7d9dd3c628

View File

@@ -651,7 +651,7 @@ erpnext.TransactionController = erpnext.taxes_and_totals.extend({
let child = frappe.model.add_child(me.frm.doc, "taxes"); let child = frappe.model.add_child(me.frm.doc, "taxes");
child.charge_type = "On Net Total"; child.charge_type = "On Net Total";
child.account_head = tax; child.account_head = tax;
child.rate = rate; child.rate = 0;
} }
}); });
} }