1 <?xml version="1.0" encoding="utf-8"?>
5 <record id="view_hr_attendance_month" model="ir.ui.view">
6 <field name="name">Attendances Report Monthly</field>
7 <field name="model">hr.attendance.month</field>
8 <field name="arch" type="xml">
9 <form string="Print Attendance Report Monthly" version="7.0">
15 <button name="print_report" string="Print" type="object" class="oe_highlight"/>
17 <button string="Cancel" class="oe_link" special="cancel" />
23 <record id="action_hr_attendance_month" model="ir.actions.act_window">
24 <field name="name">Attendances By Month</field>
25 <field name="type">ir.actions.act_window</field>
26 <field name="res_model">hr.attendance.month</field>
27 <field name="view_type">form</field>
28 <field name="view_mode">form</field>
29 <field name="target">new</field>
32 <record model="ir.values" id="hr_attendance_month_values">
33 <field name="model_id" ref="hr.model_hr_employee" />
34 <field name="name">Attendances By Month</field>
35 <field name="key2">client_print_multi</field>
36 <field name="value" eval="'ir.actions.act_window,' + str(ref('action_hr_attendance_month'))" />
37 <field name="key">action</field>
38 <field name="model">hr.employee</field>