fix(taxes_and_totals): apply conversion_rate to taxable_amount in get_itemised_tax

(cherry picked from commit 2e577ed25b)
This commit is contained in:
Dharanidharan2813
2026-02-24 13:47:16 +05:30
committed by Mergify
parent 45052ce8a7
commit d506e574d2

View File

@@ -1289,7 +1289,8 @@ def get_itemised_tax(doc, with_tax_account=False):
)
tax_info.tax_amount += flt(row.amount, precision)
tax_info.taxable_amount += flt(row.taxable_amount, precision)
conversion_rate = doc.conversion_rate or 1
tax_info.taxable_amount += flt(row.taxable_amount / conversion_rate, precision)
if with_tax_account:
tax_info.tax_account = tax.account_head