<?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="type">form</field>
            <field name="arch" type="xml">
            <form string="Create New Employee">
                    <label string="Would you like to create an employee ?" colspan="4" />
                    <separator string="" colspan="4"/>
                    <newline />
                    <button special="cancel"  string="Cancel" icon='gtk-cancel'/>
                    <button name="case_close" string="No" icon='gtk-no' type="object"/>
                    <button name="case_close_with_emp" string="Yes" colspan="1" type="object" icon="terp-camera_test"/>
            </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>
