Skip to content
Snippets Groups Projects
Commit c395eb91 authored by Nicolas Martinelli's avatar Nicolas Martinelli
Browse files

[FIX] sale_stock: `display_name` on lot list


Display the `display_name` rathe rthan the `name` in order to include
the variant specification.

opw-2170400

closes odoo/odoo#43725

Signed-off-by: default avatarNicolas Martinelli (nim) <nim@odoo.com>
parent c62dea6a
No related branches found
No related tags found
No related merge requests found
......@@ -88,7 +88,7 @@ class AccountMove(models.Model):
if float_is_zero(qty, precision_rounding=lot_id.product_id.uom_id.rounding):
continue
lot_values.append({
'product_name': lot_id.product_id.name,
'product_name': lot_id.product_id.display_name,
'quantity': qty,
'uom_name': lot_id.product_uom_id.name,
'lot_name': lot_id.name,
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment