<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 management
- MRP
This question has been flagged
1576
Views
Enjoying the discussion? Don't just read, join in!
Create an account today to enjoy exclusive features and engage with our awesome community!
Sign upRelated Posts | Replies | Views | Activity | |
---|---|---|---|---|
|
0
Nov 18
|
1913 | ||
|
2
Nov 24
|
263 | ||
|
1
Oct 24
|
328 | ||
|
4
Oct 24
|
324 | ||
Connect Odoo with unopim
Solved
|
|
2
Oct 24
|
361 |