1 <?xml version="1.0" encoding="utf-8"?>
5 <record id="view_hr_recruitment_hired_employee" model="ir.ui.view">
6 <field name="name">hr.recruitment.hired2employee.form</field>
7 <field name="model">hired.employee</field>
8 <field name="type">form</field>
9 <field name="arch" type="xml">
10 <form string="Create New Employee">
11 <label string="Would you like to create an employee ?" colspan="4" />
12 <separator string="" colspan="4"/>
14 <button special="cancel" string="Cancel" icon='gtk-cancel'/>
15 <button name="case_close" string="No" icon='gtk-no' type="object"/>
16 <button name="case_close_with_emp" string="Yes" colspan="1" type="object" icon="terp-camera_test"/>
20 <record id="action_hr_recruitment_hired_employee" model="ir.actions.act_window">
21 <field name="name">Create Employee</field>
22 <field name="type">ir.actions.act_window</field>
23 <field name="res_model">hired.employee</field>
24 <field name="view_type">form</field>
25 <field name="view_mode">form</field>
26 <field name="target">new</field>