コンテンツへスキップ
メニュー
この質問にフラグが付けられました
2 返信
4341 ビュー

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??

アバター
破棄
著作者 最善の回答

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

アバター
破棄

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.

最善の回答

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

アバター
破棄
関連投稿 返信 ビュー 活動
1
11月 24
1423
3
4月 23
17971
2
1月 23
26432
1
12月 22
14128
2
6月 22
2988