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="Monthly Employees Timesheet">
12 <group height="260" width="460">
16 <separator string="Employees" colspan="4"/>
17 <field name="employee_ids" colspan="4" nolabel="1"/>
19 <separator colspan="4"/>
21 <button icon="gtk-cancel" special="cancel" string="Cancel"/>
22 <button icon="gtk-print" string="Print" name="print_report" type="object"/>
29 <record id="action_hr_timesheet_users" model="ir.actions.act_window">
30 <field name="name">Employees Timesheet</field>
31 <field name="res_model">hr.analytical.timesheet.users</field>
32 <field name="view_type">form</field>
33 <field name="view_mode">tree,form</field>
34 <field name="view_id" ref="view_hr_timesheet_users"/>
35 <field name="target">new</field>
38 <menuitem action="action_hr_timesheet_users"
39 id="menu_hr_timesheet_users"
40 parent="menu_hr_reporting_timesheet"
41 groups="base.group_hr_manager" sequence="3" icon="STOCK_PRINT"/>