Odoo Help

2

Is there Possible to Disable menu item of a inheritted module

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

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

1

Nehal

--Nehal--
2108
| 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.

About This Community

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

Register

Odoo Training Center

Access to our E-learning platform and experience all Odoo Apps through learning videos, exercises and Quizz.

Test it now

Question tools

0 follower(s)

Stats

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