From 77cb41023ff60c0a44cbf5052ac067aceba93fa3 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 --- 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)