Skip to content

Commit c395eb9

Browse files
committed
[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#43725 Signed-off-by: Nicolas Martinelli (nim) <nim@odoo.com>
1 parent c62dea6 commit c395eb9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

addons/sale_stock/models/account_move.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ def _filter_outgoing_sml(ml):
8888
if float_is_zero(qty, precision_rounding=lot_id.product_id.uom_id.rounding):
8989
continue
9090
lot_values.append({
91-
'product_name': lot_id.product_id.name,
91+
'product_name': lot_id.product_id.display_name,
9292
'quantity': qty,
9393
'uom_name': lot_id.product_uom_id.name,
9494
'lot_name': lot_id.name,

0 commit comments

Comments
 (0)