mirror of
https://github.com/frappe/erpnext.git
synced 2026-06-01 11:19:09 +00:00
Merge pull request #54316 from frappe/mergify/bp/version-16-hotfix/pr-52923
fix(taxes_and_totals): apply conversion_rate to taxable_amount in get_itemised_tax (backport #52923)
This commit is contained in:
@@ -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