Bugfix for consumable in stocks
bzr revid: fp@tinyerp.com-7908ff59f207dc324d60c832d6def4653aec73d3
This commit is contained in:
parent
1c752a64e0
commit
b41f205bfe
|
@ -816,7 +816,7 @@ class stock_move(osv.osv):
|
|||
pickings = {}
|
||||
for move in self.browse(cr, uid, ids):
|
||||
if move.product_id.type == 'consu':
|
||||
if mode.state in ('confirmed', 'waiting'):
|
||||
if move.state in ('confirmed', 'waiting'):
|
||||
done.append(move.id)
|
||||
pickings[move.picking_id.id] = 1
|
||||
continue
|
||||
|
|
Loading…
Reference in New Issue