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'),