Перейти к содержимому
Меню
Чтобы взаимодействовать с сообществом, необходимо зарегистрироваться.
Этот вопрос был отмечен
1 Ответить
2749 Представления

Hello, 

I'm trying to add some record rules to enable internal users to see helpdesk ticket that they are followers.


i have tried to create a domain filter like this but it doesn't work. 


['|', ("user_id","=",user.id) , ('message_follower_ids', 'in', user.id)]


can anyone please enlight me ? 

Аватар
Отменить
Лучший ответ

Hi,


Try this condition:


['|', ("user_id", "=", user.id),('message_follower_ids', 'in', user.partner_id.id)]


Hope it helps

Аватар
Отменить
Related Posts Ответы Просмотры Активность
1
мая 24
1483
2
июл. 24
1903
1
сент. 23
2805
1
окт. 22
3201
0
окт. 19
5383