fix: Base amount in tax gl entry
This commit is contained in:
parent
a1737c9a0c
commit
ae7ec8e44d
@ -787,7 +787,7 @@ class PaymentEntry(AccountsController):
|
|||||||
"account": payment_or_advance_account,
|
"account": payment_or_advance_account,
|
||||||
"against": against,
|
"against": against,
|
||||||
rev_dr_or_cr: tax_amount,
|
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
|
if account_currency==self.company_currency
|
||||||
else d.tax_amount,
|
else d.tax_amount,
|
||||||
"cost_center": self.cost_center,
|
"cost_center": self.cost_center,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user