[MERGE] Merged the branch for the fix of lp:763439
bzr revid: jvo@tinyerp.com-20110512104048-trkq07se8kxz85gb
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user