auction : added the argument in def name_search

lp bug: https://launchpad.net/bugs/867054 fixed

bzr revid: bde@tinyerp.com-20111007100751-yt3olbx2iikx0d2q
This commit is contained in:
Bharat (OpenERP) 2011-10-07 15:37:51 +05:30
parent 708802c357
commit 9c663fd414
1 changed files with 1 additions and 1 deletions

View File

@ -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 = []