Odoo Help


This community 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.


(Odoo 8) Access rights to project.task

on 1/28/16, 4:09 PM 367 views


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

Thank you


On 1/29/16, 2:38 AM



Axel Mendoza

--Axel Mendoza--
| 6 7 8
Camaguey, Cuba
--Axel Mendoza--

DevOps - Full stack - Software Architect - Developer - Technology Integrator

I could help you to develop anything and solve complex problems based on technologies, integrations and tricky stuffs mostly in Python with OpenERP/Odoo, Zato, Django and many others frameworks programming languages and technologies.

I offers consulting services to anyone with an unanswered questions or needs for customizations. Think about it, maybe it's better to have an expert to solve your issues and projects than having a full time employee trying to understand what to do an how

Reach me at aekroft@gmail.com

Axel Mendoza
On 1/28/16, 11:51 PM

Try by setting 

[('user_id', '=', user.id)]

for the group Resource/Employee and setting

 [(1, '=', 1)]

for the group Resource/Responsable. No global rules

It doesn't work neither. In that case Resource/Employee see all tasks.

on 1/29/16, 2:40 AM

only if the user have the two roles

Axel Mendoza
on 1/31/16, 5:48 PM

Your Answer

Please try to give a substantial answer. If you wanted to comment on the question or answer, just use the commenting tool. Please remember that you can always revise your answers - no need to answer the same question twice. Also, please don't forget to vote - it really helps to select the best questions and answers!

About This Community

This community is for professionals and enthusiasts of our products and services. Read Guidelines

Question tools

1 follower(s)


Asked: 1/28/16, 4:09 PM
Seen: 367 times
Last updated: 1/29/16, 3:22 AM