I think I missing something security of odoo . that i want to reach:
In project module i want have 3 group roles:
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!
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
|Asked: 1/6/16, 4:45 PM|
|Seen: 454 times|
|Last updated: 1/10/16, 4:33 AM|