Skip to content

Commit

Permalink
[IMP] stock_weighing: Set move id in weigh wizard for access to other…
Browse files Browse the repository at this point in the history
… models linked to move.

Very useful to access to production order linked to move
TT51569
  • Loading branch information
sergio-teruel committed Nov 4, 2024
1 parent 10a5b2a commit dfd9744
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions stock_weighing/models/stock_move_line.py
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ def action_weighing(self):
default_weight=self[0].recorded_weight or self[0].qty_done,
default_move_line_ids=self.ids,
default_print_label=self.picking_type_id.print_weighing_label,
default_move_id=self.move_id.id,
)
return action

Expand Down

0 comments on commit dfd9744

Please sign in to comment.