[FIX] sale: wrong key was communicating wrong references
This commit is contained in:
committed by
Nicolas Martinelli
parent
48515d3c2e
commit
3310d842f6
@@ -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.'))
|
||||
|
||||
Reference in New Issue
Block a user