Correct debit amount
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', '/'),
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue