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">[('partner_id','=',user.partner_id.id)]</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.
Create an account today to enjoy exclusive features and engage with our awesome community!
Înscrie-te| Related Posts | Răspunsuri | Vizualizări | Activitate | |
|---|---|---|---|---|
|
1
aug. 23
|
2436 | |||
|
0
iul. 23
|
207 | |||
|
1
apr. 22
|
4046 | |||
|
1
iun. 25
|
5405 | |||
|
2
ian. 19
|
3007 |
1. Use the live chat to ask your questions.
2. The operator answers within a few minutes.