1 <?xml version="1.0" encoding="utf-8"?>
5 <!-- Print Employees Timesheets -->
6 <record id="view_hr_timesheet_users" model="ir.ui.view">
7 <field name="name">hr.analytical.timesheet.users.form</field>
8 <field name="model">hr.analytical.timesheet.users</field>
9 <field name="type">form</field>
10 <field name="arch" type="xml">
11 <form string="Employees Timesheet">
13 <field name="month" />
15 <field name="user_ids" colspan="3" />
17 <group colspan="4" col="6">
18 <button icon="gtk-cancel" special="cancel" string="Cancel"/>
19 <button icon="STOCK_PRINT" string="Print" name="print_report" type="object"/>
25 <record id="action_hr_timesheet_users" model="ir.actions.act_window">
26 <field name="name">Employees Timesheet</field>
27 <field name="res_model">hr.analytical.timesheet.users</field>
28 <field name="view_type">form</field>
29 <field name="view_mode">tree,form</field>
30 <field name="view_id" ref="view_hr_timesheet_users"/>
31 <field name="target">new</field>
34 <menuitem action="action_hr_timesheet_users"
35 id="menu_hr_timesheet_users"
36 parent="menu_hr_reporting_timesheet"
37 groups="hr.group_hr_manager" sequence="3" icon="STOCK_PRINT"/>