[MERGE] product lot tracking

bzr revid: fp@tinyerp.com-20120929120530-8w2ffu6em0mxv0w1
This commit is contained in:
Fabien Pinckaers
2012-09-29 14:05:30 +02:00
+2 -1
View File
@@ -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