diff --git a/invoice.py b/invoice.py index ea2d10bc36..469d7d963b 100644 --- a/invoice.py +++ b/invoice.py @@ -549,7 +549,7 @@ class Invoice(OSV): res['tax_amount'] += tax.get('amount', Decimal('0.0')) else: if computed_taxes[key]['base'] - \ - tax.get('base', Decimal('0.0')) == Decimal('0.0'): + tax.get('base', Decimal('0.0')) != Decimal('0.0'): res['tax_amount'] += computed_taxes[key]['amount'] res['taxes'].setdefault('update', []) res['taxes']['update'].append({