mirror of
https://github.com/frappe/erpnext.git
synced 2026-08-30 15:09:47 +00:00
fix: fetch/change tax template on basis of base_net_rate instead of net_rate (#39448)
fix: fetch/change tax template on basis of base_net_rate instead of net_rate (#39448)
fix: change tax template on basis of base_net_rate instead of net_rate
Co-authored-by: Deepesh Garg <deepeshgarg6@gmail.com>
(cherry picked from commit e9fe10c6f1)
Co-authored-by: Divyam Mistry <73271406+divyam-mistry@users.noreply.github.com>
This commit is contained in:
@@ -97,6 +97,7 @@ class calculate_taxes_and_totals(object):
|
||||
item_doc = frappe.get_cached_doc("Item", item.item_code)
|
||||
args = {
|
||||
"net_rate": item.net_rate or item.rate,
|
||||
"base_net_rate": item.base_net_rate or item.base_rate,
|
||||
"tax_category": self.doc.get("tax_category"),
|
||||
"posting_date": self.doc.get("posting_date"),
|
||||
"bill_date": self.doc.get("bill_date"),
|
||||
|
||||
Reference in New Issue
Block a user