Odoo Help

0

Custom menus are not visible for the created users

By
Stephen Raj
on 5/8/13, 4:47 AM 2,268 views

Hi, I created a menu. It is visible for the admin user but it is not visible for the other users. I've given all the permission to the other users still it is not visible.

The Code for the menuitem

    <record id="view_installed_details_tree" model="ir.ui.view">
        <field name="name">stock.installed_details.tree</field>
        <field name="model">stock.installed_details</field>
        <field name="arch" type="xml">
            <tree string="Installed Details" colors="grey:state == 'cancel'">
                <field name="partner_id" />
                <field name="product_id" />
                <field name="lot_number" />
                <field name="serial_number" />
                <field name="warranty_end" />
                <field name="next_calibration_date" />
                <field name="state" invisible="True" />
            </tree>
        </field>
    </record>

    <record id="action_installed_details_tree" model="ir.actions.act_window">
        <field name="name">Installed Details</field>
        <field name="type">ir.actions.act_window</field>
        <field name="res_model">stock.installed_details</field>
        <field name="view_id" ref="view_installed_details_tree" />
    </record>

    <menuitem id="stock.installed_details" parent="menu_stock_warehouse_mgmt"
        action="action_installed_details_tree" />

Kindly help me to do this.

1
Ghanshyam Prajapati
On 5/8/13, 5:13 AM

You must see use of group and access rights in OpenERP.

please see - http://doc.openerp.com/v6.1/book/8/8_20_Config/8_20_Config_accessRights.html (Access Rights) and http://doc.openerp.com/trunk/developers/server/04_security/ (Groups)

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

Question tools

0 follower(s)

Stats

Asked: 5/8/13, 4:47 AM
Seen: 2268 times
Last updated: 3/16/15, 8:10 AM