fix: Base amount in tax GL Entry

This commit is contained in:
Deepesh Garg
2021-08-26 23:53:18 +05:30
committed by GitHub
parent 25305cbeb3
commit 21d5b3cf4d

View File

@@ -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,