Typo in customer_tax_rule test
issue3194 review843002 (transplanted from 21635f565ee32a83d6ba14df6ca49ffc3d6325e5)
This commit is contained in:
1 parent
4b21c8b72e
commit
e623242533
1 file changed
+1
-1
@@ -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)
|
||||
|
||||
Reference in new issue
Block a user