[MERGE] lp881356
[odoo/odoo.git] / addons / hr_timesheet / hr_timesheet_report.xml
index 80598af..d3d2d74 100644 (file)
@@ -1,56 +1,14 @@
-<?xml version="1.0"?>
-<terp>
-       <data>
-               <report
-                       id="report_user_timesheet"
-                       string="Employee timesheet"
-                       model="hr.employee"
-                       name="hr.analytical.timesheet"
-                       xsl="hr_timesheet/report/user_timesheet.xsl"
-                       auto="False"
-                       menu="False"/>
-
-               <wizard id="wizard_hr_timesheet"
-                       string="Employee timesheet"
-                       model="hr.employee"
-                       name="hr.analytical.timesheet"
-                       menu="False" />
-               <menuitem
-                       name="Human Resources/Reporting/Timesheet/Print a User Timesheet"
-                       action="wizard_hr_timesheet"
-                       type="wizard"
-                       id="menu_wizard_hr_timesheet"/>
-
-               <wizard id="wizard_hr_timesheet_my"
-                       string="Print my timesheet"
-                       model="hr.employee"
-                       name="hr.analytical.timesheet.my"
-                       menu="False" />
-               <menuitem
-                       name="Human Resources/Reporting/Timesheet/Print My Timesheet"
-                       id="menu_wizard_hr_timesheet_my"
-                       action="wizard_hr_timesheet_my"
-                       type="wizard" />
-
-               <report id="report_users_timesheet"
-                               string="Employees timesheet"
-                               model="hr.employee"
-                               name="hr.analytical.timesheet_users"
-                               xsl="hr_timesheet/report/users_timesheet.xsl"
-                               auto="False"
-                               menu="False"/>
-
-               <wizard id="wizard_hr_timesheet_users"
-                       string="Employees timesheet"
-                       model="hr.employee"
-                       name="hr.analytical.timesheet_users"
-                       menu="False"/>
-               <menuitem
-                       name="Human Resources/Reporting/Timesheet/Print Summary Timesheet"
-                       action="wizard_hr_timesheet_users"
-                       type="wizard"
-                       id="menu_wizard_hr_timesheet_users"/>
-
-       </data>
-</terp>
-
+<?xml version="1.0" encoding="utf-8"?>
+<openerp>
+    <data>
+         <menuitem
+            id="menu_hr_reporting_timesheet"
+            name="Timesheet"
+            parent="hr.menu_hr_reporting"
+            sequence="5" />
+        <report auto="False" id="report_user_timesheet" menu="False" model="hr.employee" name="hr.analytical.timesheet" string="Employee timesheet" xsl="hr_timesheet/report/user_timesheet.xsl"/>
+
+        <report auto="False" id="report_users_timesheet" menu="False" model="hr.employee" name="hr.analytical.timesheet_users" string="Employees Timesheet" xsl="hr_timesheet/report/users_timesheet.xsl"/>
+
+    </data>
+</openerp>