Skip to Content
Menu
This question has been flagged
I already try with this record rules 
<record id="rules_for_salesperson" model="ir.rule">
<
field name="name">Salesperson Record Rules</field>
<
field name="model_id" ref="sale.model_res_partner"/>
<
field name="domain_force">[('user_id','=',user.id)]</field>
<
field name="groups" eval="[(4, ref('sales_team.group_sale_salesman'))]" />
</
record>
Avatar
Discard
Best Answer

Maybe the model should be base.model_res_partner

Avatar
Discard
Related Posts Replies Views Activity
5
May 20
2599
1
Sep 15
3200
0
Aug 24
226
2
Apr 23
1614
0
Apr 22
1291