Merge pull request #50690 from frappe/mergify/bp/version-15-hotfix/pr-50476

fix: use current_tax_amount value for base_total_taxes_and_charges (backport #50476)
This commit is contained in:
Diptanil Saha
2025-11-21 22:31:13 +05:30
committed by GitHub

View File

@@ -1800,7 +1800,7 @@ class PaymentEntry(AccountsController):
else:
self.total_taxes_and_charges += current_tax_amount
self.base_total_taxes_and_charges += tax.base_tax_amount
self.base_total_taxes_and_charges += current_tax_amount
if self.get("taxes"):
self.paid_amount_after_tax = self.get("taxes")[-1].base_total