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 v9 Record rules and access control odoo v9 community

on 1/6/16, 4:45 PM 454 views

I think I missing something security of odoo . that i want to reach:

In project module i want have 3 group roles:


Senior user


I have created user like this and :

<record id="group_project_senior_user" model="res.groups">
<field name="name">Senior user</field>
<field name="category_id" ref="base.module_category_project_management"/>
<field name="implied_ids" eval="[(4, ref('project.group_project_user'))]"/>
<record id="project.group_project_manager" model="res.groups">
<field name="implied_ids" eval="[(4, ref('my_module.group_project_senior_user'))]"/>

and i want:

User can see only tasks they are assigned.

Senior user task they are following or are assigned

manager see all tasks

To filter records to user group i have created record rule in project.task to user group:


all other record rules are default odoo rules.

So now if i create project with visability private project:followers only. adds user of users group to followers of the project. i create two tasks one assign to user other assign administrator.

User group member can see both tasks.

Maybe someone can guide me what can i do to reach this functionality

Thanks in advance!


Jignesh Mehta

--Jignesh Mehta--
| 6 4 8
Surat, India
--Jignesh Mehta--

Jignesh Mehta
On 1/8/16, 1:09 AM

Hello Zilvinas,

I was facing same issue.

In the project.task, there is one predefined Record Rule which name is

Project/Task: employees: portal or employee or (followers and following).

When i deactive this Record rule, it's works for me.


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/6/16, 4:45 PM
Seen: 454 times
Last updated: 1/10/16, 4:33 AM