by default two groups is showed odoo I want to add an third extra group
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
- CRM
- e-Commerce
- Accounting
- Inventory
- PoS
- Project management
- MRP
This question has been flagged
Hi,
In your security file in your module you can create another group as below,
<record id="group_your_group_name" model="res.groups">
<field name="name">Custom Group</field>
<field name="users" eval="[(4, ref('base.user_root')), (4, ref('base.user_admin'))]"/>
</record>
And then you can add this group to your user role in Roles.
its working thanks
Happy to help!
You can add group content filed using xml
<xpath expr="//field[@name='content']" position="attributes">
<attribute name="groups">base.group_no_one</attribute>
</xpath>
Enjoying the discussion? Don't just read, join in!
Create an account today to enjoy exclusive features and engage with our awesome community!
Sign up