[MERGE] product lot tracking
bzr revid: fp@tinyerp.com-20120929120530-8w2ffu6em0mxv0w1
This commit is contained in:
commit
864da3c59e
|
@ -1638,7 +1638,8 @@ class stock_move(osv.osv):
|
|||
(move.product_id.track_production and move.location_id.usage == 'production') or \
|
||||
(move.product_id.track_production and move.location_dest_id.usage == 'production') or \
|
||||
(move.product_id.track_incoming and move.location_id.usage == 'supplier') or \
|
||||
(move.product_id.track_outgoing and move.location_dest_id.usage == 'customer') \
|
||||
(move.product_id.track_outgoing and move.location_dest_id.usage == 'customer') or \
|
||||
(move.product_id.track_incoming and move.location_id.usage == 'inventory') \
|
||||
)):
|
||||
return False
|
||||
return True
|
||||
|
|
Loading…
Reference in New Issue