From 438a3742e238ba074b880d5d563f2c7151a767c6 Mon Sep 17 00:00:00 2001 From: Nicolas Martinelli Date: Wed, 24 Aug 2016 15:14:29 +0200 Subject: [PATCH] [FIX] account: traceback There are 6 parameters but only 5 '%s' opw-686787 --- addons/account/models/account_invoice.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/addons/account/models/account_invoice.py b/addons/account/models/account_invoice.py index 5cb70f20eef..d75d0bbe546 100644 --- a/addons/account/models/account_invoice.py +++ b/addons/account/models/account_invoice.py @@ -704,7 +704,7 @@ class AccountInvoice(models.Model): will be grouped together if the journal has the 'group line' option. Of course a module can add fields to invoice lines that would need to be tested too before merging lines or not.""" - return "%s-%s-%s-%s-%s" % ( + return "%s-%s-%s-%s-%s-%s" % ( invoice_line['account_id'], invoice_line.get('tax_line_id', 'False'), invoice_line.get('product_id', 'False'),