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:
parent
708802c357
commit
9c663fd414
|
@ -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 = []
|
||||
|
|
Loading…
Reference in New Issue