fix: Base amount in tax gl entry

This commit is contained in:
Deepesh Garg 2021-08-26 23:51:09 +05:30 committed by GitHub
parent a1737c9a0c
commit ae7ec8e44d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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,