diff --git a/tax.py b/tax.py index 4421500029..233d0a33e4 100644 --- a/tax.py +++ b/tax.py @@ -352,7 +352,7 @@ class Tax(OSV): res = self._unit_compute(cursor, user, taxes, price_unit, context=context) for row in res: - row['amount'] *= quantity + row['amount'] *= Decimal(str(quantity)) return res def _process_tax_inv(self, cursor, user, tax, price_unit, context=None):