Hello,
I want to add new group under other tab in Odoo 17 , beside the Bypass HTML Field Sanitize group
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
Hello,
I want to add new group under other tab in Odoo 17 , beside the Bypass HTML Field Sanitize group
Define a New Group in XML
Create an XML file in your custom module, e.g., security/user_groups.xml.
Specify the category_id for the "Other" Tab
The "Other" tab usually has a category already created by Odoo. You’ll want to link your new group to the same category.
<?xml version="1.0" encoding="UTF-8"?> <odoo> <record id="group_new_feature" model="res.groups"> <field name="name">New Feature Access</field> <!-- This will display the group in the "Other" tab --> <field name="category_id" ref="base.module_category_hidden"/> </record> </odoo>
Include the XML File in Your Module
Add your XML file to the module’s __manifest__.py:
'data': [ 'security/user_groups.xml', ],
Créez un compte dès aujourd'hui pour profiter de fonctionnalités exclusives et échanger avec notre formidable communauté !
S'inscrirePublications associées | Réponses | Vues | Activité | |
---|---|---|---|---|
|
0
nov. 24
|
1014 | ||
|
0
oct. 24
|
1238 | ||
|
0
oct. 24
|
1074 | ||
|
0
oct. 24
|
817 | ||
|
0
sept. 24
|
41 |