<?xml version="1.0"?>
<openerp>
    <data>

        <record model="ir.actions.act_window" id="action_hr_available_holidays_report">
            <field name="name">Leaves Analysis</field>
            <field name="res_model">hr.holidays</field>
            <field name="view_type">form</field>
            <field name="view_mode">tree,form</field>
            <field name="view_id" eval="view_holiday_simple"/>
            <field name="context">{'search_default_year':1, 'search_default_This Month':1, 'search_default_group_employee': 1, 'search_default_group_type': 1}</field>
            <field name="domain">[('holiday_type','=','employee')]</field>
            <field name="search_view_id" ref="view_hr_holidays_filter"/>
        </record>

        <menuitem
            name="Leaves Analysis" 
            id="menu_hr_available_holidays_report_tree" 
            action="action_hr_available_holidays_report" 
            parent="hr.menu_hr_reporting" sequence="5" />


    </data>
</openerp>

