[FIX] res_request: search() context arg turned to keyword arg.
bzr revid: vmt@openerp.com-20111121134823-1o1zwngrl4hxw097
This commit is contained in:
parent
2013ca1b4f
commit
a787b202d4
|
@ -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]
|
||||
|
||||
|
|
Loading…
Reference in New Issue