[FIX] Fix partial picking for no send goods not available

bzr revid: sebastien.lange@syleam.fr-20121226160740-e1s6lxp41hogzcgk
This commit is contained in:
Sebastien LANGE 2012-12-26 17:07:40 +01:00
parent 75272a5059
commit 9dad413c61
1 changed files with 1 additions and 1 deletions

View File

@ -144,7 +144,7 @@ class stock_partial_picking(osv.osv_memory):
def _partial_move_for(self, cr, uid, move):
partial_move = {
'product_id' : move.product_id.id,
'quantity' : move.product_qty if move.state in ('assigned','draft','confirmed') else 0,
'quantity' : move.product_qty if move.state == 'assigned' else 0,
'product_uom' : move.product_uom.id,
'prodlot_id' : move.prodlot_id.id,
'move_id' : move.id,