fix: test for invoice returns
This commit is contained in:
parent
3d9938221a
commit
1f4b381748
@ -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