Skip to Content
Menu
Dette spørgsmål er blevet anmeldt
1 Svar
5630 Visninger

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
Kassér
Bedste svar

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
Kassér
Related Posts Besvarelser Visninger Aktivitet
3
jan. 24
8600
0
jan. 24
7
3
feb. 20
2807
1
jun. 16
6450
2
feb. 16
7758