[FIX] account: traceback

There are 6 parameters but only 5 '%s'

opw-686787
This commit is contained in:
Nicolas Martinelli
2016-08-24 15:14:29 +02:00
parent d90f363253
commit 438a3742e2
+1 -1
View File
@@ -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'),