Fix typo, use user_id instead of BrowseRecord
This commit is contained in:
1 parent
0bdf15670b
commit
2edd015b82
1 file changed
+1
-1
+1
-1
@@ -136,7 +136,7 @@ class User(OSV):
|
||||
], context=context)
|
||||
res['fields']['company']['selection'] = [
|
||||
(x.id, x.rec_name) for x in company_obj.browse(cursor,
|
||||
user, company_ids, context=context)]
|
||||
user_id, company_ids, context=context)]
|
||||
return res
|
||||
|
||||
User()
|
||||
|
||||
Reference in new issue
Block a user