Перейти к содержимому
Меню
Чтобы взаимодействовать с сообществом, необходимо зарегистрироваться.
Этот вопрос был отмечен
1 Ответить
1314 Представления

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>