Odoo Help


OpenERP 7 Access Rights for User Roles [Closed]

on 4/12/13, 6:35 AM 3,703 views

The Question has been closed

on 04/18/2013 07:32:23

I need to add users for my module and need some menuitem restriction for them.mainly i created user and manager roles.in Settings -> Users -> create user -> Access Rights and i change User or Manager.but no affect for that user and not shows any menu items to them.main menu item also not shows. I added code in bpl_security.xml and that xml file mapped in openerp.py file. is anything missing to me.?please check my code and advice

<?xml version="1.0" ?>
        <record model="ir.module.category" id="module_checkroll_category">
            <field name="name">Checkroll</field>
            <field name="description">manager-create new products</field>
            <field name="sequence">16</field>
        <record id="group_checkroll_user" model="res.groups">
            <field name="name">Checkroll_User</field>
            <field name="category_id" ref="module_checkroll_category" />
        <record id="group_checkroll_manager" model="res.groups">
            <field name="name">Checkroll_Manager</field>
            <field name="implied_ids" eval="[(4, ref('group_checkroll_user'))]" />
            <field name="category_id" ref="module_checkroll_category" />
            <field name="users" eval="[(4, ref('base.user_root'))]" />

my whole code uploaded here & see its' bpl_view.xml line no 705

here shows my related part in view.xml

<menuitem id="menu_bpl" name="Checkroll/Registration" groups="group_checkroll_manager,group_checkroll_user" />
<menuitem id="menu_bpl_ref" name="Reference" parent="menu_bpl"
groups="group_checkroll_user" />
<menuitem id="menu_bpl_logic" name="Company Specific" parent="menu_bpl"
groups="group_checkroll_manager" />



| 5 5 6
Colombo, Sri Lanka
Java Developer ORACLE Python J2EE Spring Hibernate Struts & Jquery............. :-)
On 4/16/13, 8:37 AM

issue with my earlier tables' mappings.now i created a new DB and user roles working perfectly

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

0 follower(s)


Asked: 4/12/13, 6:35 AM
Seen: 3703 times
Last updated: 3/16/15, 8:10 AM