I have created Custom group and with Custom category and i want show that group in res users form when we create new users without debug mode on.
Groups are showing but in debug mode. I want to show without debug mode
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
I have created Custom group and with Custom category and i want show that group in res users form when we create new users without debug mode on.
Groups are showing but in debug mode. I want to show without debug mode
Hi,
Please put your group under "OTHER" category or create your category without the Parent category and Technical category. then your group will visible without the debug mode.
Also please take a note, only the "Inherited" groups are visible without the debug mode.
Hope it will help you.
<record model="ir.module.category" id="module_employee_cc">
<field name="name">Employee CC</field>
<field name="description">Helps you Manage employee permissions.</field>
<field name="sequence">1</field>
<field name="visible" eval="True" />
</record>
<record id="group_employee_cc_internal_new" model="res.groups">
<field name="name">Employee Can Manage there own profile as internal users</field>
<field name="category_id" ref="module_employee_cc"/>
<field name="implied_ids" eval="[(6, 0, [ref('base.group_user')])]"/>
</record>
<record id="group_cc_company_owner" model="res.groups">
<field name="name">Company Owner Can Manage there data</field>
<field name="category_id" ref="module_employee_cc"/>
<field name="implied_ids" eval="[(6, 0, [ref('hr.group_hr_user')])]"/>
</record>
I have created one category and 2 groups but still not showing without debug mode on
Yes as you can see both groups are separate from each other.
either you can add group "group_employee_cc_internal_new" in the implied_ids of group group_cc_company_owner, then work.
Like this
<record id="group_cc_company_owner" model="res.groups">
<field name="name">Company Owner Can Manage there data</field>
<field name="category_id" ref="module_employee_cc"/>
<field name="implied_ids" eval="[(6, 0, [ref('you_module_name.group_employee_cc_internal_new')])]"/>
</record>
Cree una cuenta para poder utilizar funciones exclusivas e interactuar con la comunidad.
InscribirsePublicaciones relacionadas | Respuestas | Vistas | Actividad | |
---|---|---|---|---|
|
0
abr 24
|
23 | ||
|
2
dic 24
|
5922 | ||
|
0
abr 24
|
1341 | ||
|
0
nov 23
|
1156 | ||
|
0
ago 25
|
781 |