Odoo Help

0

Record rule res.user

By
Susi
on 6/6/16, 4:33 AM 899 views

Hi, i want to show record in object res.users only user with the same login. i have use this code for record rules

[('user_id','=', user.id)] but its doesnt work and users not show with error message


AccessErrorThe requested operation cannot be completed due to security restrictions. Please contact your system administrator.(Document type: res.users, Operation: read)

Anyone can help me please? how i solve this problem.Thanks before

Susi,
Is field user_id exist in your object?
on which object are u trying to keep this rule?

Pawan
on 6/6/16, 6:07 AM
0
Susi
On 6/8/16, 3:11 AM

Hi Pawan,

i just realized field user_id doesnt exist in res.users.

how can i solved this?

0

Baiju KS

--Baiju KS--
3194
| 5 5 8
Kochi, India
--Baiju KS--
ODOO technical

        I like learning new thing, especially technical thing. I am a quick learner, I can learn technical things very fast. I have good logical skill,  I have immense interest in programming.

e-mail id : baijuks@hotmail.com

Baiju KS
On 6/6/16, 7:48 AM

Hi,

Rule seems correct, hope the problem is the logged-in user don't have the access right to read res.users object. Please check access rules of res.users object for that user role.


Hope this helps.

About This Community

This platform is for beginners and experts willing to share their Odoo knowledge. It's not a forum to discuss ideas, but a knowledge base of questions and their answers.

Register

Odoo Training Center

Access to our E-learning platform and experience all Odoo Apps through learning videos, exercises and Quizz.

Test it now

Question tools

1 follower(s)

Stats

Asked: 6/6/16, 4:33 AM
Seen: 899 times
Last updated: 6/8/16, 3:11 AM