Typo in customer_tax_rule test

issue3194
review843002
This commit is contained in:
Cédric Krier committed 2013-04-29 21:31:01 +02:00
1 parent d1a696f968
commit 77cb41023f
1 file changed
+1 -1
+1 -1
View File
@@ -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)