From e623242533d20a1aa270c23e790e0921cd2c668d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?C=C3=A9dric=20Krier?= Date: Mon, 29 Apr 2013 21:31:01 +0200 Subject: [PATCH] Typo in customer_tax_rule test issue3194 review843002 (transplanted from 21635f565ee32a83d6ba14df6ca49ffc3d6325e5) --- work.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/work.py b/work.py index 7903b39d88..17f3984d2a 100644 --- a/work.py +++ b/work.py @@ -308,7 +308,7 @@ class Work: pattern = invoice_line._get_tax_rule_pattern() party = invoice.party for tax in product.customer_taxes_used: - if party.customer_taxes_used: + if party.customer_tax_rule: tax_ids = party.customer_tax_rule.apply(tax, pattern) if tax_ids: taxes.extend(tax_ids)