From 21d5b3cf4d1024799fa56f22693f5eeaa8277f01 Mon Sep 17 00:00:00 2001 From: Deepesh Garg <42651287+deepeshgarg007@users.noreply.github.com> Date: Thu, 26 Aug 2021 23:53:18 +0530 Subject: [PATCH] fix: Base amount in tax GL Entry --- erpnext/accounts/doctype/payment_entry/payment_entry.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/erpnext/accounts/doctype/payment_entry/payment_entry.py b/erpnext/accounts/doctype/payment_entry/payment_entry.py index de2944df548..95e229d5409 100644 --- a/erpnext/accounts/doctype/payment_entry/payment_entry.py +++ b/erpnext/accounts/doctype/payment_entry/payment_entry.py @@ -787,7 +787,7 @@ class PaymentEntry(AccountsController): "account": payment_or_advance_account, "against": against, rev_dr_or_cr: tax_amount, - rev_dr_or_cr + "_in_account_currency": -1 * base_tax_amount + rev_dr_or_cr + "_in_account_currency": base_tax_amount if account_currency==self.company_currency else d.tax_amount, "cost_center": self.cost_center,