Pular para o conteúdo
Menu
Esta pergunta foi sinalizada
1 Responder
5539 Visualizações

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
Cancelar
Melhor resposta

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
Cancelar
Publicações relacionadas Respostas Visualizações Atividade
3
jan. 24
8432
0
jan. 24
7
3
fev. 20
2693
1
jun. 16
6359
2
fev. 16
7616