fix: item wise tax calculation (#23746)

This commit is contained in:
Saqib 2020-10-28 17:07:30 +05:30 committed by GitHub
parent 34873bf26b
commit b088c783df
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;
}
});
}