Odoo Help

1 Answer

IT Libertas

--IT Libertas--
| 4 3 7
Saint Petersburg, Russian Federation
--IT Libertas--

Visit us: https://odootools.com/

IT Libertas is a team of developers and automation experts to help you to unlock Odoo ERP system's potential. We have been communicating with end users to whom the software became a main business tool since 2012. As a result, we are proud of dozens of successful Odoo apps developed.

We are open for new ideas and challenges to create the best Odoo tools for business needs all over the world

IT Libertas
4/26/17, 5:18 AM


please check 2 considerations:

  1. This leaf ('team_id','=', [user.team_id]) is incorrect. You compare Team ID with a list of objects. It should be either ('team_id','=', user.team_id.id) or ('team_id','in', [user.team_id.id])

  2. You apply a global rule for all user groups. It is better to overwrite some existing rule - e.g. res_partner_rule  

1 Comment
4/26/17, 5:47 AM

thank you for ur rply, I have changed those rules.

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

<field name="name">Partner Own Documents</field>

<field name="model_id" ref="base.model_res_partner" />

<field name="domain_force">['|','|',









<field name="groups" eval="[(6, 0, [ref('sales_team.group_sale_salesman')])]" />


Ask a Question
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.

Odoo Training Center

Access to our E-learning platform and experience all Odoo Apps through learning videos, exercises and Quizz.

Test it now