44
def _past_inventories(self, cr, uid, product_ids, prodlot_ids, location_ids, limit_date, context=None):
44
def _past_inventories(self, cr, uid, product_ids, prodlot_ids,
45
46
"""Search for inventories already finished after a given date"""
46
47
# Search for inventory lines with the given location / prodlot / product
50
51
sil_ids = sil_obj.search(cr, uid, [('product_id', 'in', product_ids),
51
52
('prod_lot_id', 'in', prodlot_ids),
52
53
('location_id', 'in', location_ids),