credit isn't necessarily a positive amount
This commit is contained in:
parent
c902802160
commit
c4ad0e705e
1 changed files with 1 additions and 1 deletions
|
|
@ -55,7 +55,7 @@ class FrenchTransaction(Transaction):
|
||||||
if len(debit) > 0:
|
if len(debit) > 0:
|
||||||
self.amount = - abs(Decimal(debit))
|
self.amount = - abs(Decimal(debit))
|
||||||
else:
|
else:
|
||||||
self.amount = abs(Decimal(credit))
|
self.amount = Decimal(credit)
|
||||||
|
|
||||||
def parse(self, date, raw):
|
def parse(self, date, raw):
|
||||||
"""
|
"""
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue