Siirry sisältöön
Menu
Sinun on rekisteröidyttävä, jotta voit olla vuorovaikutuksessa yhteisön kanssa.
Tämä kysymys on merkitty
2 Vastaukset
4345 Näkymät

I have made some groups,AB CDthrough GUI in Odoo v10. These groups are shown as checkboxes on the user page.

I want that instead of these check-boxes a dropdown must be shown so that user can be assigned to only a single group i.e. a user can only be in one of the A,B,C,D groups.

How can I do this??

Avatar
Hylkää
Tekijä Paras vastaus

@Ermin Trevisan What do you mean by another type of groups. Can you please elaborate?

Avatar
Hylkää

Odoo groups are "topics"-based collections of access rights. Therefore there is a manytomany relationship between groups and users. If you want to have collections of access rights which are mutually exclusive, you could create another type of groups ("mygroups"), which have a onetomany relationship to users.

Paras vastaus

This would most probably break Odoo. You would have to create another type of groups in order to handle them like you want.

Avatar
Hylkää
Aiheeseen liittyviä artikkeleita Vastaukset Näkymät Toimenpide
1
marrask. 24
1426
3
huhtik. 23
17974
2
tammik. 23
26447
1
jouluk. 22
14131
2
kesäk. 22
2993