From 9c663fd41412732a07e4cf30b161c22c947e14f6 Mon Sep 17 00:00:00 2001 From: "Bharat (OpenERP)" Date: Fri, 7 Oct 2011 15:37:51 +0530 Subject: [PATCH] auction : added the argument in def name_search lp bug: https://launchpad.net/bugs/867054 fixed bzr revid: bde@tinyerp.com-20111007100751-yt3olbx2iikx0d2q --- addons/auction/auction.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/addons/auction/auction.py b/addons/auction/auction.py index 685b6ee3368..c97cf6f2ded 100644 --- a/addons/auction/auction.py +++ b/addons/auction/auction.py @@ -415,7 +415,7 @@ class auction_lots(osv.osv): result = [ (r['id'], str(r['obj_num'])+' - '+r['name']) for r in self.read(cr, user, ids, ['name', 'obj_num'])] return result - def name_search(self, cr, user, name, args=None, operator='ilike', context=None): + def name_search(self, cr, user, name, args=None, operator='ilike', context=None, limit=100): if not args: args = [] ids = []