Fix comparaison Decimal Integer
This commit is contained in:
1 parent
2a59e7d6da
commit
a4823db6b2
1 file changed
+1
-1
+1
-1
@@ -191,7 +191,7 @@ class Line(OSV):
|
||||
})
|
||||
|
||||
journal = statement_line.statement.journal.journal
|
||||
if statement_line.amount < 0:
|
||||
if statement_line.amount < Decimal('0.0'):
|
||||
account = journal.credit_account
|
||||
else:
|
||||
account = journal.debit_account
|
||||
|
||||
Reference in new issue
Block a user