Skip to Content
Menu
You need to be registered to interact with the community.
This question has been flagged
1 Odgovori
5635 Prikazi

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.

Avatar
Opusti
Best Answer

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)

Avatar
Opusti
Related Posts Odgovori Prikazi Aktivnost
3
jan. 24
8605
0
jan. 24
7
3
feb. 20
2821
1
jun. 16
6461
2
feb. 16
7768