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>
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
- CRM
- e-Commerce
- Účetnictví
- Sklad
- PoS
- Project
- MRP
This question has been flagged
1
Odpovědět
4613
Zobrazení
Maybe the model should be base.model_res_partner
Enjoying the discussion? Don't just read, join in!
Create an account today to enjoy exclusive features and engage with our awesome community!
Přihlásit seRelated Posts | Odpovědi | Zobrazení | Aktivita | |
---|---|---|---|---|
Duplicate Rule on Customer
Vyřešeno
|
|
5
kvě 20
|
4152 | |
|
1
zář 15
|
4477 | ||
|
2
čvc 25
|
1728 | ||
|
2
dub 23
|
3619 | ||
|
0
dub 22
|
2620 |