From 85f067753a89d4d71e2fca2b2d54ce51aa499518 Mon Sep 17 00:00:00 2001 From: "Lucas Perais (lpe)" Date: Mon, 6 Feb 2017 16:04:30 +0100 Subject: [PATCH] [FIX] account: added a %s when calculating invoice hash This commit corrects the forward port https://github.com/odoo/odoo/commit/ba8a1c7ec24cba065934e8eb58f97d15bb60b55f It corrects the OPW 707315 --- 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 58dbf3546d4..d6d7be96a27 100644 --- a/addons/account/models/account_invoice.py +++ b/addons/account/models/account_invoice.py @@ -720,7 +720,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-%s" % ( + return "%s-%s-%s-%s-%s-%s-%s" % ( invoice_line['account_id'], invoice_line.get('tax_ids', 'False'), invoice_line.get('tax_line_id', 'False'),