[FIX] stock: fixed error in rereserve method: why should it only consider 'assigned' move and not 'confirmed' ones too?
bzr revid: qdp-launchpad@openerp.com-20131113082542-om60jryweg3b9nk8
This commit is contained in:
parent
9ca77ea0c0
commit
68a2971470
|
@ -979,7 +979,7 @@ class stock_picking(osv.osv):
|
|||
quant_obj.quants_unreserve(cr, uid, move, context=context)
|
||||
res2[move.id] = move.product_qty
|
||||
resneg[move.id] = {}
|
||||
if move.state == 'assigned':
|
||||
if move.state in ('confirmed', 'assigned'):
|
||||
products_moves.setdefault(move.product_id.id, []).append(move)
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue