Odoo Help


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
On 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  

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')])]" />


on 4/26/17, 5:47 AM

About This Community

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

Odoo Training Center

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

Test it now

Question tools

1 follower(s)


Asked: 1/30/17, 5:33 AM
Seen: 491 times
Last updated: 5/3/18, 6:51 AM