[FIX] stock: _action_confirm on confirmed move
task-2241471
This commit is contained in:
@@ -1013,6 +1013,8 @@ class StockMove(models.Model):
|
||||
|
||||
to_assign = {}
|
||||
for move in self:
|
||||
if move.state != 'draft':
|
||||
continue
|
||||
# if the move is preceeded, then it's waiting (if preceeding move is done, then action_assign has been called already and its state is already available)
|
||||
if move.move_orig_ids:
|
||||
move_waiting |= move
|
||||
|
||||
Reference in New Issue
Block a user