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

        <record id="view_hr_recruitment_hired_employee" model="ir.ui.view">
            <field name="name">hr.recruitment.hired2employee.form</field>
            <field name="model">hired.employee</field>
            <field name="arch" type="xml">
                <form string="Create New Employee" version="7.0">
                    <header>
                        <button name="case_close_with_emp" string="Yes" type="object" class="oe_highlight" />
                        <button name="case_close" string="No" type="object"/>
                        or
                        <button string="Cancel" class="oe_link" special="cancel" />
                    </header>
                    <label string="Would you like to create an employee ?"/>
                </form>
            </field>
        </record>
        <record id="action_hr_recruitment_hired_employee" model="ir.actions.act_window">
            <field name="name">Create Employee</field>
            <field name="type">ir.actions.act_window</field>
            <field name="res_model">hired.employee</field>
            <field name="view_type">form</field>
            <field name="view_mode">form</field>
            <field name="target">new</field>
        </record>

    </data>
</openerp>
