<?xml version="1.0" encoding="utf-8"?>
<openerp>
    <data>

		<record id="view_hr_payroll_create_form" model="ir.ui.view">
            <field name="name">Create Analytic</field>
            <field name="model">hr.payroll.create.analytic</field>
            <field name="type">form</field>
            <field name="arch" type="xml">
			<form string="Process Form">
		 	     <field name="company_id"/>
		        <field name="type"/>
				<separator colspan="4"/>
			    <group col="2" colspan="4">
            		<button special="cancel"  string="Cancel" icon='gtk-cancel'/>
					<button name="do_duplicate" string="Process" colspan="1" type="object"  icon="gtk-yes"/>
				</group>
			</form>
            </field>
        </record>

        <record id="action_view_hr_payroll_create" model="ir.actions.act_window">
            <field name="name">Create Analytic Structure</field>
            <field name="type">ir.actions.act_window</field>
            <field name="res_model">hr.payroll.create.analytic</field>
            <field name="view_type">form</field>
            <field name="view_mode">form</field>
            <field name="target">new</field>
        </record>

	</data>
</openerp>