fix: item wise tax calculation (#23744)
This commit is contained in:
parent
1dd54e457d
commit
7d9dd3c628
@ -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;
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user