Hello.
This is my problematic: When a user join a specific group, I need to
automatically remove it from another group.
But I can't find how.
When you add a record on "res.groups" with an "implied_ids" field, you
can do a:
<record id="group_guest" model="res.groups">
…
<field name="implied_ids"
eval="[(3, ref('my_group'))],"/>
…
</record>
But, this didn't remove the user from the group "my_group" when she/he
join the group "group_guest". This only remove the implication that
joining the "group_guest" make the user also join "my_group".
Is my only solution is to override res.groups or res.user write()
method?
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
- 客户关系管理
- e-Commerce
- 会计
- 库存
- PoS
- Project
- MRP
此问题已终结
4287
查看
相关帖文 | 回复 | 查看 | 活动 | |
---|---|---|---|---|
|
1
11月 24
|
1565 | ||
|
3
4月 23
|
18157 | ||
|
1
12月 22
|
14261 | ||
|
2
9月 22
|
4012 | ||
|
0
3月 19
|
2719 |