Odoo Help

Welcome!

This community 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.

2

Is there Possible to Disable menu item of a inheritted module

By
Jamshid Chungath
on 4/17/14, 3:17 AM 864 views

we inherited a fleet module ,we want to hide/disable Vehicle Cost,Vehicel Service Logs,menu actions

1

Nehal

--Nehal--
2090
| 5 2 8
Ahmadabad, India
--Nehal--
Nehal
On 4/17/14, 3:35 AM

Hi,

You can follow like below to hide the menu:

<record id="group_with_no_access" model="res.groups">
    <field name="name">Group - No user</field>
</record>
<record id="fleet.fleet_vehicle_costs_menu" model="ir.ui.menu">
    <field name="groups_id" eval="[(3, ref('fleet.group_fleet_manager'))]"/>
</record>
<menuitem action="fleet.fleet_vehicle_costs_act" parent="fleet.fleet_vehicles" id="fleet.fleet_vehicle_costs_menu"

groups="group_with_no_access"/>

This will hide Vehicle Cost menu. You can do the same for other menu.

Your Answer

Please try to give a substantial answer. If you wanted to comment on the question or answer, just use the commenting tool. Please remember that you can always revise your answers - no need to answer the same question twice. Also, please don't forget to vote - it really helps to select the best questions and answers!

About This Community

This community is for professionals and enthusiasts of our products and services. Read Guidelines

Question tools

0 follower(s)

Stats

Asked: 4/17/14, 3:17 AM
Seen: 864 times
Last updated: 3/16/15, 8:10 AM