<?xml version="1.0" encoding="utf-8"?>
<openerp>
    <data>
		<record id="view_hr_payroll_employees_detail" model="ir.ui.view">
            <field name="name">Employee Salary Statement</field>
            <field name="model">hr.payroll.employees.detail</field>
            <field name="type">form</field>
            <field name="arch" type="xml">
                <form string="Year Salary">
                 <group col="4" colspan="4"  width="600">
			    	<group col="2" colspan="1">
				    	<field name="fiscalyear_id"  align="1.0" />
				    	<newline/>
				    	<separator string="Employees" colspan="4"/>
				    	<field name="employee_ids"  nolabel="1" colspan="2" />
			    	</group>
			    	<newline/>
			    	<group col="2" colspan="1">
					<button icon='gtk-cancel' special="cancel"
	        			string="Close" />
	 				<button name="print_report" string="Print Report"
	        			 type="object" icon="gtk-print" />
					</group>
					</group>
                </form>
            </field>
        </record>
        <record id="action_hr_payroll_employees_detail" model="ir.actions.act_window">
            <field name="name">Employee Salary Statement</field>
            <field name="type">ir.actions.act_window</field>
            <field name="res_model">hr.payroll.employees.detail</field>
            <field name="view_type">form</field>
            <field name="view_mode">form</field>
            <field name="target">new</field>
        </record>

	<menuitem id="menu_hr_payroll_employees_detail"
            icon="STOCK_PRINT"
            action="action_hr_payroll_employees_detail"
            parent="menu_hr_payroll_reporting"
            name="Employee Salary Statement"/>
</data>
</openerp>
