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
2124
Views
You can try the below:
['|', ("user_id","=",user.id) ,
('message_partner_ids', 'in', [user.partner_id.id])]
Thanks CorTex , It works fine.
Enjoying the discussion? Don't just read, join in!
Create an account today to enjoy exclusive features and engage with our awesome community!
Sign upRelated Posts | Replies | Views | Activity | |
---|---|---|---|---|
|
1
Jan 22
|
1375 | ||
|
2
Jul 24
|
225 | ||
|
1
Aug 17
|
4456 | ||
|
1
Oct 24
|
577 | ||
|
0
Oct 15
|
3331 |