From 574c33d0399aa7840ea55adc070804c67fe2beca Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?C=C3=A9dric=20Krier?= Date: Fri, 17 Apr 2009 14:36:06 +0200 Subject: [PATCH] Fix key construct in get_invoice_taxes --- invoice.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/invoice.py b/invoice.py index d174c53dfd..7a16a868c9 100644 --- a/invoice.py +++ b/invoice.py @@ -1516,7 +1516,7 @@ class InvoiceLine(ModelSQL, ModelView): continue key = (tax.base_code.id, tax.base_sign, tax.tax_code.id, tax.tax_sign, - tax.account.id, tax.id) + tax.account.id, tax.tax.id) if key in taxes_keys: res[line.id].append(tax.id) return res