Skip to Content
Меню
Вам необхідно зареєструватися, щоб взаємодіяти зі спільнотою.
Це запитання позначене
1 Відповісти
1504 Переглядів

My crm_lead tab is locked behind a res_partner permission, i don't understand why.

I'm using record rules to set limited view to certain users for both CRM and Contacts, the CRM rule (crm_lead) is working fine, but the user rule (res_partner) it blocking acess to CRM for the user.


Here are my record rules:


crm_lead: ['|', ('user_id', '=', user .id), ('user_id', '=', False)]

res_partner: ['|', ('user_id', '=' user .id), ('user_id', '=', False)]


And this is the error:

"Access denied, due to security restrictions, you don't have acess to records 'Users' (res.users)"


I don't understand why this is happening, the contacts are limited and the vizualization is correct, but it is limiting CRM acess.


How can i overcome this?


Аватар
Відмінити
Автор Найкраща відповідь

I solved the problem, in Odoo, users are contacts as well. So i needed to remove the owner of an user contact.

It is the firts user that was created, i don't know why only this user was bugging. But it's solved, if you receive this error

"Access denied, due to security restrictions, you don't have acess to records 'Users' (res.users)"


Check if the user contact has an owner, then remove it.

Аватар
Відмінити
Related Posts Відповіді Переглядів Дія
2
черв. 23
3114
3
січ. 19
4811
2
трав. 25
1134
1
квіт. 25
1003
0
бер. 25
1174