From 61816b1053e07ebfaa2c8034fe3db5dd4a8cd59e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Nicolas=20=C3=89vrard?= Date: Fri, 28 Oct 2011 10:28:26 +0200 Subject: [PATCH] Fix typo (transplanted from d47f438ca66c72ba98bec1e125e990944dfd6881) --- move.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/move.py b/move.py index 067c9d7b53..6c6af4e58d 100644 --- a/move.py +++ b/move.py @@ -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'):