From ae7ec8e44d3059a31e9e0b9a60821ac0e8adb74f Mon Sep 17 00:00:00 2001 From: Deepesh Garg <42651287+deepeshgarg007@users.noreply.github.com> Date: Thu, 26 Aug 2021 23:51:09 +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 5a183e2e513..b259b11c638 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,