mirror of
https://github.com/frappe/erpnext.git
synced 2026-04-27 10:38:30 +00:00
fix(taxes_and_totals): apply conversion_rate to taxable_amount in get_itemised_tax
(cherry picked from commit 2e577ed25b)
This commit is contained in:
committed by
Mergify
parent
45052ce8a7
commit
d506e574d2
@@ -1289,7 +1289,8 @@ def get_itemised_tax(doc, with_tax_account=False):
|
|||||||
)
|
)
|
||||||
|
|
||||||
tax_info.tax_amount += flt(row.amount, precision)
|
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:
|
if with_tax_account:
|
||||||
tax_info.tax_account = tax.account_head
|
tax_info.tax_account = tax.account_head
|
||||||
|
|||||||
Reference in New Issue
Block a user