Odoo Help


This community 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.


OpenERP 7 Access Rights for User Roles [Closed]

on 4/12/13, 6:35 AM 2,798 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 community is for professionals and enthusiasts of our products and services. Read Guidelines

Question tools

0 follower(s)


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