Append tax id only to taxes list

issue6434
review38321002
This commit is contained in:
Cédric Krier
2017-04-14 11:42:34 +02:00
parent 00808db410
commit 053a186abf
+1 -1
View File
@@ -1120,7 +1120,7 @@ class PurchaseLine(sequence_ordered(), ModelSQL, ModelView):
if tax_ids:
taxes.extend(tax_ids)
continue
taxes.append(tax)
taxes.append(tax.id)
if party and party.supplier_tax_rule:
tax_ids = party.supplier_tax_rule.apply(None, pattern)
if tax_ids: