diff --git a/addons/stock/stock.py b/addons/stock/stock.py index a728e06fb01..571edbb78ba 100644 --- a/addons/stock/stock.py +++ b/addons/stock/stock.py @@ -1964,7 +1964,7 @@ class stock_move(osv.osv): if move.picking_id: pickings[move.picking_id.id] = True if move.move_dest_id and move.move_dest_id.state == 'waiting': - self.write(cr, uid, [move.move_dest_id.id], {'state': 'assigned'}) + self.write(cr, uid, [move.move_dest_id.id], {'state': 'confirmed'}) if context.get('call_unlink',False) and move.move_dest_id.picking_id: wf_service = netsvc.LocalService("workflow") wf_service.trg_write(uid, 'stock.picking', move.move_dest_id.picking_id.id, cr)