Reviewers: ,


Please review this at http://codereview.tryton.org/191001/

Affected files:
  M party.py


Index: party.py
===================================================================
--- a/party.py
+++ b/party.py
@@ -170,7 +170,7 @@
                 'GROUP BY l.party '
'HAVING (SUM((COALESCE(l.debit, 0) - COALESCE(l.credit, 0))) ' \
                         + clause[1] + ' %s)',
-                    [code] + today_value + [company_id] + [clause[2]])
+ [code] + today_value + [company_id] + [Decimal(clause[2])])
         return [('id', 'in', [x[0] for x in cursor.fetchall()])]

 Party()


--
[email protected] mailing list

Reply via email to