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

I am trying to restrict a user to only have access to his contacts, but after I made a Registry rule with the following code:


['|', '|', ('partner_share', '=', False), ('company_id', 'in', company_ids), ('company_id', '=', False), ('company_id', '=', 'Cristian Jesus Fernandez Balcazar')]



It only work if I go from the Sales Menu ->Contacts.


But if I go directly to the contacts menu from the main menu, it show contacts form all companies. (We have four companies)


Here I is the link to the video of what is happening
https://www.awesomescreenshot.com/video/10194081?key=1a0157fe8083f231967d4329535df9b4


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

as you can see at the end of the video you have a default filter active in the sarch bar, try removing it and check the result again.

Аватар
Відмінити
Related Posts Відповіді Переглядів Дія
1
вер. 23
1454
1
лист. 21
4704
odoo partnership Вирішено
1
лист. 24
2379
0
трав. 21
2855
4
лют. 24
13577