mirror of
https://github.com/OCA/account-reconcile.git
synced 2025-01-20 12:27:39 +02:00
Correct debit amount
This commit is contained in:
committed by
Yannick Vaucher
parent
20618bf483
commit
eb00e93f6a
@@ -66,6 +66,6 @@ class TransactionIDFileParser(FileParser):
|
||||
'name': line.get('label', '/'),
|
||||
'date_maturity': line.get('date', datetime.datetime.now().date()),
|
||||
'credit': amount > 0.0 and amount or 0.0,
|
||||
'debit': amount < 0.0 and amount or 0.0,
|
||||
'debit': amount < 0.0 and -amount or 0.0,
|
||||
'transaction_ref': line.get('transaction_id', '/'),
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user