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
- Бухгалтерия
- Склад
- PoS
- Project
- MRP
Этот вопрос был отмечен
1
Ответить
4598
Представления
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!
РегистрацияRelated Posts | Ответы | Просмотры | Активность | |
---|---|---|---|---|
Duplicate Rule on Customer
Решено
|
|
5
мая 20
|
4146 | |
|
1
сент. 15
|
4474 | ||
|
2
июл. 25
|
1723 | ||
|
2
апр. 23
|
3607 | ||
|
0
апр. 22
|
2616 |