[MERGE] lp: 867054

bzr revid: qdp-launchpad@openerp.com-20111010101156-qqged7y50xhbd9x8
This commit is contained in:
Quentin (OpenERP)
2011-10-10 12:11:56 +02:00
+1 -1
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 = []