Fix typo, use user_id instead of BrowseRecord

This commit is contained in:
Cédric Krier committed 2009-02-17 12:36:22 +01:00
1 parent 0bdf15670b
commit 2edd015b82
1 file changed
+1 -1
+1 -1
View File
@@ -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()