<field name="arch" type="xml">
<form string="Jobs - Recruitment Form" version="7.0">
<header>
- <button name="%(action_hr_recruitment_hired_employee)d" string="Hire" type="action"
+ <button name="case_close_with_emp" string="Hire" type="object"
states="open,pending" class="oe_highlight"/>
- <button name="case_open" string="Open" type="object"
- states="draft,pending" class="oe_highlight"/>
- <button name="case_pending" string="Pending" type="object"
- states="open"/>
- <button name="case_reset" string="Reset to New" type="object"
- states="done,cancel"/>
<button name="case_cancel" string="Refuse" type="object"
states="draft,open,pending" class="oe_highlight"/>
- <button name="stage_previous" string="Previous" type="object"
- states="open" icon="gtk-go-back"/>
- <button name="stage_next" string="Next" type="object"
- states="open" icon="gtk-go-forward"/>
- <field name="stage_id" widget="statusbar"/>
+ <field name="stage_id" widget="statusbar" clickable="True" on_change="onchange_stage_id(stage_id)"/>
</header>
<sheet>
<div class="oe_right oe_button_box">
</h2>
</div>
<group>
- <group string="Contact Details">
+ <group>
<field name="partner_id"
on_change="onchange_partner_id(partner_id, email_from)"/>
<field name="email_from" widget="email"/>
<field name="partner_mobile"/>
<field name="type_id" placeholder="Degree"/>
</group>
- <group string="Application Followup">
+ <group>
<field name="user_id"/>
<label for="title_action"/>
<div>
</div>
<field name="priority"/>
<field name="state" invisible="1"/>
+ <field name="source_id"/>
+ <field name="reference"/>
</group>
<group string="Job">
<field name="survey" invisible="1"/>
<field name="salary_proposed_extra" class="oe_inline" placeholder="Extra advantages..."/>
</div>
</group>
- <group string="Reference">
- <field name="source_id"/>
- <field name="reference"/>
- </group>
</group>
<separator string="Application Summary"/>
<field name="description" placeholder="Feedback of interviews..."/>