Skip to Content
เมนู
คุณต้องลงทะเบียนเพื่อโต้ตอบกับคอมมูนิตี้
คำถามนี้ถูกตั้งค่าสถานะ
2 ตอบกลับ
4323 มุมมอง

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.

อวตาร
ละทิ้ง
Related Posts ตอบกลับ มุมมอง กิจกรรม
1
พ.ย. 24
1416
3
เม.ย. 23
17957
Syntax of domains - operators แก้ไขแล้ว
2
ม.ค. 23
26407
How to add an user to a group แก้ไขแล้ว
1
ธ.ค. 22
14119
2
มิ.ย. 22
2981