diff --git a/addons/stock/models/stock_move.py b/addons/stock/models/stock_move.py index f7bfab2faed..e9776589de0 100644 --- a/addons/stock/models/stock_move.py +++ b/addons/stock/models/stock_move.py @@ -913,7 +913,6 @@ class StockMove(models.Model): # If you were already putting stock.move.lots on the next one in the work order, transfer those to the new move move.move_line_ids.filtered(lambda x: x.qty_done == 0.0).write({'move_id': new_move}) - self.browse(new_move).quantity_done = 0.0 move.move_line_ids.action_done() picking = self and self[0].picking_id or False moves_todo.write({'state': 'done', 'date': fields.Datetime.now()})