odoo10 adding sub menu to another module

334 Views Asked by At

I am trying to create a sub-menu to Payroll Modules. Tried so many way but i cant make it.

I found this code in forum but it is not working.

<menuitem id="menu_test" parent="hr_payroll.menu_hr_payroll_root" name="Test Module Parent"/>
<menuitem id="menu_test_child" parent="menu_test" name="My Menu" action="action_view_hr_module_reports_form"/>

Employee Payslips

Payslips Batches

Configuration

Salary Structures
Salary Structures Hierarchy
Salary Rules
Contribution Registers 

These are default sub-menus in payroll and i want to add a new Reports menu. How can i do that?

Someone can help me please? Thank you.

0

There are 0 best solutions below