From 2edd015b82dbfc1067b1e5fa9892bd4193d824a3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?C=C3=A9dric=20Krier?= Date: Tue, 17 Feb 2009 12:36:22 +0100 Subject: [PATCH] Fix typo, use user_id instead of BrowseRecord --- company.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/company.py b/company.py index 70aeded39f..8d3406867f 100644 --- a/company.py +++ b/company.py @@ -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()