This commit is contained in:
Nicolas Évrard committed 2011-10-28 10:28:26 +02:00
1 parent bb52b4f86f
commit bec4410ce1
1 file changed
+1 -1
+1 -1
View File
@@ -843,7 +843,7 @@ class Line(ModelSQL, ModelView):
amount = cursor.fetchone()[0]
# SQLite uses float for SUM
if not isinstance(amount, Decimal):
amout = Decimal(str(amount))
amount = Decimal(str(amount))
if not currency_obj.is_zero( party.account_receivable.currency,
amount):
if amount > Decimal('0.0'):