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

Hi everyone,

I am an Odoo beginner, and I want to add more options to the administration dropdown list.


It displays administration is sel_groups_3_4 field and its type is selection. But I can not find 'administration' in Technical >> Data Structures >> Field.

So, whats I want to know is how to find source code of Settings page, and user page where I can modify administration dropdown list.

Can somebody help me to do this? Thank you very much!

الصورة الرمزية
إهمال
أفضل إجابة

Hi,

You have to create a new user group in res.groups model and set its category as Administration Category.

record model="res.groups" id="group_erp_manager"
<field name="name">Access Rightsfield>
<field name="implied_ids" eval="[Command.link(ref('group_user'))]"/>
<field name="category_id" ref="module_category_administration_administration"/>
/record


Thanks

الصورة الرمزية
إهمال

<record model="res.groups" id="group_erp_manager">
<field name="name">Access Rights</field>
<field name="implied_ids" eval="[Command.link(ref('group_user'))]"/>
<field name="category_id" ref="module_category_administration_administration"/>
</record>