hello ,
i am new in odoo12 community
i want to do record rules for my salesperson only seen own contact not seen other salesperson contact
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
hello ,
i am new in odoo12 community
i want to do record rules for my salesperson only seen own contact not seen other salesperson contact
Hello Prerak,
Sales-person view only his record use below Record Rule.
<record id="rule_id" model="ir.rule">
<field name="name">for Salesperson</field>
<field name="model_id" ref="model_(model_name)"/>
<field name="domain_force"></field>
<field name="groups" eval="[(4,ref('base.group_user'))]"/>
</record>
Hello Desai,
write record rule for res.partner module and assign it to See own documents group and one more record rule with [(1,'=',1)] for res.partner module and assign it to Manager group.
i am not a developer so ,i can't use your code
Create an account today to enjoy exclusive features and engage with our awesome community!
Sign upRelated Posts | Replies | Views | Activity | |
---|---|---|---|---|
|
1
Aug 23
|
725 | ||
|
0
Jul 23
|
207 | ||
|
1
Apr 22
|
2094 | ||
|
1
Jul 19
|
3601 | ||
|
2
Jan 19
|
1642 |