Skip to content

Commit

Permalink
[FIX] stock_picking_package_preparation_line when creating package pr…
Browse files Browse the repository at this point in the history
…eparation from pickings created from reordering rule

In this case, line description would contain rule name (like "OP/XXX-XXX-X") which is not meaningful for package user
  • Loading branch information
eLBati committed Nov 21, 2024
1 parent 56a6522 commit e85b09d
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ def _prepare_lines_from_pickings(self, picking_ids):
lot_id = move_line.move_line_ids.mapped('lot_id')
lines.append({
'move_id': move_line.id,
'name': move_line.name,
'name': move_line.product_id.display_name,
'product_id': move_line.product_id.id,
'product_uom_qty': move_line.product_uom_qty,
'product_uom_id': move_line.product_uom.id,
Expand Down

0 comments on commit e85b09d

Please sign in to comment.