[MERGE] Fix partial picking for no send goods not available
lp bug: https://launchpad.net/bugs/1093079 fixed bzr revid: mat@openerp.com-20130521144138-q36iy0hcyw02adpv
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user