[FIX] account: payment blue lines in reconciliation were in wrong column
The problem was because in case of payment we take the abs value which should not be the case.
This commit is contained in:
@@ -750,8 +750,8 @@ class AccountMoveLine(models.Model):
|
||||
|
||||
# For already reconciled lines, don't use amount_residual(_currency)
|
||||
if line.account_id.internal_type == 'liquidity':
|
||||
amount = abs(debit - credit)
|
||||
amount_currency = abs(line.amount_currency)
|
||||
amount = debit - credit
|
||||
amount_currency = line.amount_currency
|
||||
|
||||
target_currency = target_currency or company_currency
|
||||
|
||||
|
||||
Reference in New Issue
Block a user