[FIX] res_request: search() context arg turned to keyword arg.

bzr revid: vmt@openerp.com-20111121134823-1o1zwngrl4hxw097
This commit is contained in:
Vo Minh Thu 2011-11-21 14:48:23 +01:00
parent 2013ca1b4f
commit a787b202d4
1 changed files with 1 additions and 1 deletions

View File

@ -24,7 +24,7 @@ import time
def _links_get(self, cr, uid, context=None):
obj = self.pool.get('res.request.link')
ids = obj.search(cr, uid, [], context)
ids = obj.search(cr, uid, [], context=context)
res = obj.read(cr, uid, ids, ['object', 'name'], context)
return [(r['object'], r['name']) for r in res]