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