Add missing context to search
This commit is contained in:
1 parent
b048c000bd
commit
13ce9f7059
1 file changed
+1
-1
@@ -217,7 +217,7 @@ class RequestReference(OSV):
|
||||
|
||||
def links_get(self, cursor, user, context=None):
|
||||
request_link_obj = self.pool.get('res.request.link')
|
||||
ids = request_link_obj.search(cursor, user, [])
|
||||
ids = request_link_obj.search(cursor, user, [], context=context)
|
||||
request_links = request_link_obj.browse(cursor, user, ids,
|
||||
context=context)
|
||||
return [(x.model, x.name) for x in request_links]
|
||||
|
||||
Reference in new issue
Block a user