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 | etc.
Access rights and record rules are driving me crazy.
I would like normal users (resource/Employee) to only see their own tasks within the timesheet whereas I would like the (Resource/responsable) to be able to see any of the tasks.
I tried many options.
#1 Setting global record rules [('user_id','=',user.id)] on project.task
-> Resource/Employee see their own tasks only: OK
-> Resource/Responsable only see their own tasks: NOK
This was expected.
#2 Setting global record rules [('user_id','=',user.id)] on project.task AND setting record rule [(1, '=', 1)] on project.task for group
-> I still get the same behavior as in #1
#3 Setting record rule [('user_id','=',user.id)] on project.task for group Resource/employee AND setting record rule [(1, '=', 1)] on project.task for group Resource/Responsable
I still get the same behavior
With any rules, both Resource/Responsable and Resource/Employeecan access to all tasks
I surely misanderstand something. Any help would be appreciated
About This Community
This platform is for beginners and experts willing to share their Odoo knowledge. It's not a forum to discuss ideas, but a knowledge base of questions and their answers.Register
Odoo Training Center
Access to our E-learning platform and experience all Odoo Apps through learning videos, exercises and Quizz.Test it now
|Asked: 1/28/16, 4:09 PM|
|Seen: 622 times|
|Last updated: 1/29/16, 3:22 AM|