跳至內容
選單
此問題已被標幟
1 回覆
1315 瀏覽次數

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>