=== modified file 'auction/auction.py' --- auction/auction.py 2010-02-19 14:19:49 +0000 +++ auction/auction.py 2010-09-10 22:18:21 +0000 @@ -230,7 +230,7 @@ } auction_lot_category() -def _type_get(self, cr, uid,ids): +def _type_get(self, cr, uid, context=None): cr.execute('select name, name from auction_lot_category order by name') return cr.fetchall() @@ -480,7 +480,7 @@ 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=[], operator='ilike', context={}): + def name_search(self, cr, user, name, args=[], operator='ilike', context=None, limit=80): try: ids = self.search(cr, user, [('obj_num','=',int(name))]+ args) except: