we inherited a fleet module ,we want to hide/disable Vehicle Cost,Vehicel Service Logs,menu actions
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
- CRM
- e-Commerce
- Accounting
- Inventory
- PoS
- Project management
- MRP
This question has been flagged
1
Reply
3494
Views
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.