From 5d4560676ea5c8dafc7414b2c70a5b2a78265588 Mon Sep 17 00:00:00 2001 From: Denis Ledoux Date: Tue, 12 May 2015 11:32:37 +0200 Subject: [PATCH] [FIX] res_users: action_id must be readable by the user `action_id` is the loaded (window) action on user sign in. It must thefore be readable by the user. opw-634402 --- openerp/addons/base/res/res_users.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/openerp/addons/base/res/res_users.py b/openerp/addons/base/res/res_users.py index cb88cb186d7..e6e33871455 100644 --- a/openerp/addons/base/res/res_users.py +++ b/openerp/addons/base/res/res_users.py @@ -279,7 +279,7 @@ class res_users(osv.osv): # User can write on a few of his own fields (but not his groups for example) SELF_WRITEABLE_FIELDS = ['password', 'signature', 'action_id', 'company_id', 'email', 'name', 'image', 'image_medium', 'image_small', 'lang', 'tz'] # User can read a few of his own fields - SELF_READABLE_FIELDS = ['signature', 'company_id', 'login', 'email', 'name', 'image', 'image_medium', 'image_small', 'lang', 'tz', 'tz_offset', 'groups_id', 'partner_id', '__last_update'] + SELF_READABLE_FIELDS = ['signature', 'company_id', 'login', 'email', 'name', 'image', 'image_medium', 'image_small', 'lang', 'tz', 'tz_offset', 'groups_id', 'partner_id', '__last_update', 'action_id'] def read(self, cr, uid, ids, fields=None, context=None, load='_classic_read'): def override_password(o):