Skip to Content
Menu
This question has been flagged
1 Atsakyti
5534 Rodiniai

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.

Portretas
Atmesti
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)

Portretas
Atmesti
Related Posts Replies Rodiniai Veikla
3
saus. 24
8408
0
saus. 24
7
3
vas. 20
2688
1
birž. 16
6351
2
vas. 16
7606