Typo in customer_tax_rule test

issue3194
review843002
(transplanted from 21635f565ee32a83d6ba14df6ca49ffc3d6325e5)
This commit is contained in:
Cédric Krier committed 2013-04-29 21:31:01 +02:00
1 parent 4b21c8b72e
commit e623242533
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)