Browse Source

fix: Base amount in tax gl entry

develop
Deepesh Garg 3 years ago
committed by GitHub
parent
commit
ae7ec8e44d
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      erpnext/accounts/doctype/payment_entry/payment_entry.py

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

Loading…
Cancel
Save