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 | etc.
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:
<record id="module_category_company" model="ir.module.category">
<field name="sequence" eval="20" />
<record id="group_test_rule_1" model="res.groups">
<field name="name">test rule 1</field>
<field name="category_id" ref="module_category_company"/>
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>
<record id="group_expense_ticket" model="res.groups">
<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') )]"/>
Please try to give a substantial answer. If you wanted to comment on the question or answer, just use the commenting tool. Please remember that you can always revise your answers - no need to answer the same question twice. Also, please don't forget to vote - it really helps to select the best questions and answers!
About This Community
This platform is for beginners and experts willing to share their Odoo knowledge. It's not a forum to discuss ideas, but a knowledge base of questions and their answers.Register
Odoo Training Center
Access to our E-learning platform and experience all Odoo Apps through learning videos, exercises and Quizz.Test it now
|Asked: 11/2/16, 4:53 AM|
|Seen: 213 times|
|Last updated: 11/2/16, 9:54 AM|