[Fix] stock: validated internal stock move if no prodlot_id assing
bzr revid: sbh@tinyerp.com-20100831110731-ss3n2hiv09z1mn06
This commit is contained in:
parent
6eadcfce0d
commit
252d4334a6
|
@ -1331,6 +1331,8 @@ class stock_move(osv.osv):
|
|||
@return: True or False
|
||||
"""
|
||||
for move in self.browse(cr, uid, ids):
|
||||
if move.picking_id and move.picking_id.type=="internal":
|
||||
return True
|
||||
if not move.prodlot_id and \
|
||||
(move.state == 'done' and \
|
||||
( \
|
||||
|
|
Loading…
Reference in New Issue