From 053a186abfeeaaf07b4237964b0ef3aca0eb73ee Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?C=C3=A9dric=20Krier?= Date: Fri, 14 Apr 2017 11:42:34 +0200 Subject: [PATCH] Append tax id only to taxes list issue6434 review38321002 --- purchase.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/purchase.py b/purchase.py index dc4054d06d..51db31a0df 100644 --- a/purchase.py +++ b/purchase.py @@ -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: