Hello, I'm using odoo14 community and I want to let user see only the tasks are assigned to him or he is a follower on them.
Solutions I tried with it:
I removed this record rule from Internal User group:
Project/Task: employees: follow required for follower-only projects [('project_id.privacy_visibility', '!=', 'followers')]
And add this record rule to project/user group:
[("user_id","=",user.id)]
In this way the user see only his tasks (assigned to him) without tasks that he is a follower on them.
What is the rule record that achive the user see both his tasks and tasks that he is a follower on them?
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
- CRM
- e-Commerce
- Accounting
- Inventory
- PoS
- Project management
- MRP
This question has been flagged
2
Replies
1882
Views
You can try the below:
['|', ("user_id","=",user.id) ,
('message_partner_ids', 'in', [user.partner_id.id])]
Thanks CorTex , It works fine.