diff --git a/tax.py b/tax.py index 59ac4f4882..fd9096dd19 100644 --- a/tax.py +++ b/tax.py @@ -687,7 +687,8 @@ class Tax(OSV): context=context) res.reverse() for row in res: - row['amount'] *= quantity + row['base'] *= Decimal(str(quantity)) + row['amount'] *= Decimal(str(quantity)) return res Tax()