[IMP] No pack operations create needed at force_assign
bzr revid: jco@openerp.com-20140227161020-happi4qshw2uoabo
This commit is contained in:
parent
bd0fcb70b7
commit
753c125024
|
@ -852,8 +852,6 @@ class stock_picking(osv.osv):
|
|||
for pick in self.browse(cr, uid, ids, context=context):
|
||||
move_ids = [x.id for x in pick.move_lines if x.state in ['confirmed', 'waiting']]
|
||||
self.pool.get('stock.move').force_assign(cr, uid, move_ids, context=context)
|
||||
if pick.pack_operation_exist:
|
||||
self.do_prepare_partial(cr, uid, [pick.id], context=None)
|
||||
return True
|
||||
|
||||
def action_cancel(self, cr, uid, ids, context=None):
|
||||
|
|
Loading…
Reference in New Issue