I want to create a new security subgroup where I can group my custom security rules. 
Suppose I want to create a group 'Company' which is the same as 'Extra Rights' and a new rule 'test rule 1' as 'Multi Companies'. Image for example:
Odoo is the world's easiest all-in-one management software.
 It includes hundreds of business apps:
I want to create a new security subgroup where I can group my custom security rules. 
Suppose I want to create a group 'Company' which is the same as 'Extra Rights' and a new rule 'test rule 1' as 'Multi Companies'. Image for example:
Try this:
<record id="module_category_company" model="ir.module.category">
<field name="name">Company</field>
<field name="sequence" eval="20" />
 </record>
        <record id="group_test_rule_1" model="res.groups">  
<field name="name">test rule 1</field>
<field name="category_id" ref="module_category_company"/>
       </record>
Probably you are looking for it.
<record id="expense_ticket_module" model="ir.module.category">
<field name="name">Expense ticket access</field>
<field name="description">User access level for Expense ticket</field>
<field name="sequence">40</field>
</record>
<record id="group_expense_ticket" model="res.groups">
<field name="name">User</field>
<field name="category_id" ref="expense_ticket.expense_ticket_module"/>
<field name="users" eval="[(4, ref('base.user_root'))]"/>
<field name="implied_ids" eval="[(4, ref('base.group_user') )]"/>
</record>
| 関連投稿 | 返信 | ビュー | 活動 | |
|---|---|---|---|---|
|  | 0 6月 16  | 3848 | ||
|  | 8 2月 16  | 5606 | ||
|  | 0 5月 20  | 4289 | ||
|  | 0 5月 16  | 5599 | ||
|  | 1 12月 15  | 4365 |