Odoo Help


Adding A Group To A Custom Module

Alex Gallien
on 10/29/14, 6:19 PM 751 views

Hi All,

I am looking to add a group to a custom module so that I can control access to various menus. I modeled my code after the purchases module, but am not seeing the group under settings. Is there any documentation on how to code groups into modules? Here is the code I have now:


<?xml version="1.0" encoding="utf-8"?>


<data noupdate="0">


    <record id="group_ec_purchase" model="res.groups">

        <field name="name">Electrochem Purchasing</field>

        <field name="category_id" ref="base.module_category_purchase_management"/>

        <field name="implied_ids" eval="[(4, ref('base.group_user'))]"/>







Any idea why this isn't loading? I'm not getting any error messages. I was sure to add 'ir.model.access.csv' and 'ec_purchases_security.xml' to the 'data' field in __openerp__.py

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.


Odoo Training Center

Access to our E-learning platform and experience all Odoo Apps through learning videos, exercises and Quizz.

Test it now

Question tools

1 follower(s)


Asked: 10/29/14, 6:19 PM
Seen: 751 times
Last updated: 3/16/15, 8:10 AM