[IMP]after partial picking if u cannot change quantinty of package and click on transfer done it gives tracback this solves it

bzr revid: sgo@tinyerp.com-20130806072551-o2foh0zfx90043kl
This commit is contained in:
Sanjay Gohel (OpenERP) 2013-08-06 12:55:51 +05:30
parent 753f68daad
commit 29ae4d9baa
1 changed files with 1 additions and 1 deletions

View File

@ -1437,7 +1437,7 @@ class stock_move(osv.osv):
moves with product_id, product_qty, uom
"""
if move.product_qty==qty:
return move
return move.id
if (move.product_qty < qty) or (qty==0):
return False