<record id =“project_task_rule_user” model =“ir.rule” >
<field name =“name” >项目任务限制用户项目和纪律</ field>
<field name =“model_id” ref =“model_project_task” />
<field name =“perm_read” eval =“True” />
<field name =“perm_write” eval =“True” />
<field name =“perm_create” eval =“错误“ />
<field name =”perm_unlink“eval =“False” />
<field name =“domain_force” > [('discipline_id.user_ids','in',user.id),
('project_id.organization_id','in',[p.id for p in user.organization_ids])] </ field>
<field name =“groups” eval =“[(4,ref('group_gesion_task_user'))]” />
</ record>
<! - Project Task Limit NotIn Discipline - > <record id =“project_task_rule_not_discipline” model =“ir.rule” > <field name =“name” >项目任务限制NotIn Discipline </ field> <字段名称
=“model_id” ref =“model_project_task” />
<field name =“perm_read” eval =“True” />
<field name =“perm_write” eval =“False” />
<field name =“perm_create” eval =“False “ />
<field name =”perm_unlink“ eval =”False“ />
<field name =”domain_force“ > [('discipline_id.user_ids','not in',user.id),
('project_id.organization_id','in',[p.id for p in user.organization_ids])] </ field>
<fieldname =“groups” eval =“[(4,ref('group_gesion_task_user'))]” />
</ record>
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
- CRM
- e-Commerce
- Accounting
- Inventory
- PoS
- Project
- MRP
This question has been flagged
2236
Prikazi
Enjoying the discussion? Don't just read, join in!
Create an account today to enjoy exclusive features and engage with our awesome community!
PrijaviRelated Posts | Odgovori | Prikazi | Aktivnost | |
---|---|---|---|---|
|
0
nov. 18
|
2555 | ||
|
2
avg. 25
|
2310 | ||
|
1
jul. 25
|
831 | ||
|
1
avg. 25
|
1150 | ||
|
0
maj 25
|
1285 |