commit | b088c783df6b2de73a9709e094ced088132d9a39 | [log] [tgz] |
---|---|---|
author | Saqib <nextchamp.saqib@gmail.com> | Wed Oct 28 17:07:30 2020 +0530 |
committer | GitHub <noreply@github.com> | Wed Oct 28 17:07:30 2020 +0530 |
tree | c8241b081700c73986b6b69be681eb4103f8b6cb | |
parent | 34873bf26bfecc0435f4c3dc0a69513cb8b4b19a [diff] |
fix: item wise tax calculation (#23746)
diff --git a/erpnext/public/js/controllers/transaction.js b/erpnext/public/js/controllers/transaction.js index 23705a8..02b1dc0 100644 --- a/erpnext/public/js/controllers/transaction.js +++ b/erpnext/public/js/controllers/transaction.js
@@ -651,7 +651,7 @@ let child = frappe.model.add_child(me.frm.doc, "taxes"); child.charge_type = "On Net Total"; child.account_head = tax; - child.rate = rate; + child.rate = 0; } }); }