there are sometimes negatives amounts in the 'debit' column

This commit is contained in:
Romain Bignon 2014-01-12 19:13:13 +01:00
commit d12b0c0689

View file

@ -129,5 +129,6 @@ class OperationsPage(BasePage):
t = FrenchTransaction(0) t = FrenchTransaction(0)
t.parse(date, raw) t.parse(date, raw)
t.label = label t.label = label
t.set_amount('-' + amount) t.set_amount(amount)
t.amount = - t.amount
yield t yield t