[IMP] stock: small refactoring
bzr revid: qdp-launchpad@openerp.com-20140127124045-14yk1o7m00p8ai8e
This commit is contained in:
@@ -1173,8 +1173,6 @@ class stock_production_lot(osv.osv):
|
||||
@param context: A standard dictionary
|
||||
@return: A dictionary of values
|
||||
"""
|
||||
if not ids or len(ids) == 0:
|
||||
return False #TODO give warning instead
|
||||
quant_obj = self.pool.get("stock.quant")
|
||||
move_obj = self.pool.get("stock.move")
|
||||
quants = quant_obj.search(cr, uid, [('lot_id', 'in', ids)], context=context)
|
||||
|
||||
Reference in New Issue
Block a user