commit | 7d9dd3c6281b7c35f7be04b0f61a9ccfc8266e42 | [log] [tgz] |
---|---|---|
author | Saqib <nextchamp.saqib@gmail.com> | Wed Oct 28 17:07:10 2020 +0530 |
committer | GitHub <noreply@github.com> | Wed Oct 28 17:07:10 2020 +0530 |
tree | daf0540296b0a77546e35cdc70730a1994c5a419 | |
parent | 1dd54e457d3e17f9c9c6dffe35b9e14647f724c0 [diff] |
fix: item wise tax calculation (#23744)
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; } }); }