fix: test for invoice returns
(cherry picked from commit 1f4b38174899d99be2a3ac894a328c6b7ae7475f)
This commit is contained in:
parent
8602a3eab1
commit
a89af589e8
@ -1073,8 +1073,8 @@ class PaymentEntry(AccountsController):
|
||||
|
||||
gle.update(
|
||||
{
|
||||
dr_or_cr: allocated_amount_in_company_currency,
|
||||
dr_or_cr + "_in_account_currency": d.allocated_amount,
|
||||
dr_or_cr: abs(allocated_amount_in_company_currency),
|
||||
dr_or_cr + "_in_account_currency": abs(d.allocated_amount),
|
||||
"against_voucher_type": against_voucher_type,
|
||||
"against_voucher": against_voucher,
|
||||
"cost_center": cost_center,
|
||||
|
Loading…
x
Reference in New Issue
Block a user