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:
- CRM
- e-Commerce
- Akuntansi
- Inventaris
- PoS
- Project
- MRP
Pertanyaan ini telah diberikan tanda
4262
Tampilan
Menikmati diskusi? Jangan hanya membaca, ikuti!
Buat akun sekarang untuk menikmati fitur eksklufi dan agar terlibat dengan komunitas kami!
DaftarPost Terkait | Replies | Tampilan | Aktivitas | |
---|---|---|---|---|
|
1
Nov 24
|
1559 | ||
|
3
Apr 23
|
18141 | ||
How to add an user to a group
Diselesaikan
|
|
1
Des 22
|
14255 | |
|
2
Sep 22
|
4002 | ||
|
0
Mar 19
|
2715 |