Odoo Help

6
1
Janarthanan
On 4/26/17, 2:54 AM

Hi @annadurai try this

 <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">['|','|',
('user_ids','in',[user.id]),
('supplier','=',True),
'&amp;','&amp;','&amp;',
('user_id','!=',False),
('user_id','=',user.id),
('team_id','!=',False),
('team_id','=',user.team_id.id)]
</field>
<field name="groups" eval="[(6, 0, [ref('sales_team.group_sale_salesman')])]" />
</record>

About This Community

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

Question tools

1 follower(s)

Stats

Asked: 2/15/17, 9:04 AM
Seen: 1274 times
Last updated: 5/3/18, 6:51 AM