[FIX] sale: wrong key was communicating wrong references

This commit is contained in:
Wolfgang Taferner
2018-04-17 09:24:24 +02:00
committed by Nicolas Martinelli
parent 48515d3c2e
commit 3310d842f6
+1 -1
View File
@@ -424,7 +424,7 @@ class SaleOrder(models.Model):
if references.get(invoices.get(group_key)):
if order not in references[invoices[group_key]]:
references[invoice] = references[invoice] | order
references[invoices[group_key]] |= order
if not invoices:
raise UserError(_('There is no invoiceable line.'))