Odoo Help

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

Question tools

1 follower(s)


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