[IMP] code cleanup, reported by vincent a.
bzr revid: fp@tinyerp.com-20110822172950-75h3qz5p0sjgh02t
This commit is contained in:
parent
f11f0dd9e3
commit
32c17b85d7
|
@ -224,8 +224,6 @@ class product_product(osv.osv):
|
|||
if context.get('compute_child',True):
|
||||
child_location_ids = location_obj.search(cr, uid, [('location_id', 'child_of', location_ids)])
|
||||
location_ids = child_location_ids or location_ids
|
||||
else:
|
||||
location_ids = location_ids
|
||||
|
||||
uoms_o = {}
|
||||
product2uom = {}
|
||||
|
|
Loading…
Reference in New Issue