تخطي للذهاب إلى المحتوى
القائمة
لقد تم الإبلاغ عن هذا السؤال
2 الردود
4324 أدوات العرض

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
نوفمبر 24
1418
3
أبريل 23
17961
2
يناير 23
26411
1
ديسمبر 22
14122
2
يونيو 22
2981