Odoo Help

Welcome!

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.

0

how to set "access_rules" to let users just see the records of his/her own group' members?

By
vx2008
on 7/21/16, 4:33 AM 163 views

I have  written the general codes as below:

 <record id="some_task_user_rule" model="ir.rule">

<field name="name">Some Tasks only for owner</field>

<field name="model_id" ref="model_some_task"/>

<field name="groups" eval="[(4, ref('base.group_user'))]"/>

<field name="domain_force">

.....

</field>

</record>


I don;t know how to write the "domain_force"; could you give me some advice?

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)

Stats

Asked: 7/21/16, 4:33 AM
Seen: 163 times
Last updated: 7/21/16, 4:56 AM