Skip to content

Commit

Permalink
[IMP] shopfloor_putaway_recompute: Use the sorted move lines
Browse files Browse the repository at this point in the history
As the resulting move lines should have changed in the method, use those
resulting ones to recompute putaways.
  • Loading branch information
rousseldenis committed Oct 16, 2024
1 parent 6c9bf8d commit e122c43
Showing 1 changed file with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -8,5 +8,6 @@ class LocationContentTransfer(Component):
_inherit = "shopfloor.location.content.transfer"

def _select_move_lines_first_location(self, move_lines):
move_lines._recompute_putaways()
return super()._select_move_lines_first_location(move_lines)
result = super()._select_move_lines_first_location()
result._recompute_putaways()
return result

0 comments on commit e122c43

Please sign in to comment.