[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
This commit is contained in:
Lucas Perais (lpe)
2017-02-06 16:04:34 +01:00
parent 7d2cccfc12
commit 85f067753a
+1 -1
View File
@@ -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'),