[IMP] mail : Improved the Search View.
[odoo/odoo.git] / addons / hr_holidays / wizard / hr_holidays_summary_employees_view.xml
1 <?xml version="1.0" encoding="utf-8"?>
2 <openerp>
3     <data>
4
5         <record id="view_hr_holidays_summary_employee" model="ir.ui.view">
6             <field name="name">hr.holidays.summary.employee.form</field>
7             <field name="model">hr.holidays.summary.employee</field>
8             <field name="type">form</field>
9             <field name="arch" type="xml">
10             <form string="Employee's Holidays">
11                 <group col="4" colspan="6">
12                     <field name="date_from"/>
13                     <newline/>
14                     <field name="holiday_type"/>
15                     <newline/>
16                     <field name="emp" invisible="True"/>
17                 </group>
18                 <separator colspan="4"/>
19                 <group col="2" colspan="4">
20                         <button special="cancel"  string="Cancel" icon='gtk-cancel'/>
21                         <button name="print_report" string="Print" colspan="1" type="object" icon="gtk-print"/>
22                 </group>
23             </form>
24             </field>
25         </record>
26
27         <record id="action_hr_holidays_summary_employee" model="ir.actions.act_window">
28             <field name="name">Employee's Holidays</field>
29             <field name="type">ir.actions.act_window</field>
30             <field name="res_model">hr.holidays.summary.employee</field>
31             <field name="view_type">form</field>
32             <field name="view_mode">form</field>
33             <field name="target">new</field>
34         </record>
35
36         <record model="ir.values" id="hr_holidays_summary_employee_value">
37             <field name="model_id" ref="hr.model_hr_employee" />
38             <field name="name">Employee's Holidays</field>
39             <field name="key2">client_print_multi</field>
40             <field name="value" eval="'ir.actions.act_window,' + str(ref('action_hr_holidays_summary_employee'))" />
41             <field name="key">action</field>
42             <field name="model">hr.employee</field>
43         </record>
44
45     </data>
46 </openerp>