[IMP] stock: improve the wizard
bzr revid: psi@tinyerp.com-20120328113107-bcgfgzldp8ii0rtl
This commit is contained in:
@@ -138,7 +138,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.state in ('assigned','new') and move.product_qty or 0,
|
||||
'quantity' : move.state in ('assigned','draft','confirmed') and move.product_qty or 0,
|
||||
'product_uom' : move.product_uom.id,
|
||||
'prodlot_id' : move.prodlot_id.id,
|
||||
'move_id' : move.id,
|
||||
|
||||
Reference in New Issue
Block a user