Skip to content

Commit

Permalink
Merge PR #1678 into 16.0
Browse files Browse the repository at this point in the history
Signed-off-by jbaudoux
  • Loading branch information
OCA-git-bot committed Jan 31, 2025
2 parents 2491722 + 54af367 commit 1765192
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions stock_split_picking/models/stock_picking.py
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,6 @@ def split_process(self):
new_move = self.env["stock.move"].create(new_move_vals)
else:
new_move = move
new_move._action_confirm(merge=False)
new_moves |= new_move

# If we have new moves to move, create the backorder picking
Expand All @@ -71,7 +70,7 @@ def split_process(self):
new_moves.mapped("move_line_ids").write(
{"picking_id": backorder_picking.id}
)
new_moves._action_assign()
new_moves._action_confirm(merge=False)

def _create_split_backorder(self, default=None):
"""Copy current picking with defaults passed, post message about
Expand Down

0 comments on commit 1765192

Please sign in to comment.