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
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -651,7 +651,7 @@ erpnext.TransactionController = erpnext.taxes_and_totals.extend({
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;
}
});
}