Fix typo
(transplanted from d47f438ca66c72ba98bec1e125e990944dfd6881)
This commit is contained in:
@@ -835,7 +835,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'):
|
||||
|
||||
Reference in New Issue
Block a user