<field name="view_type">form</field>
<field name="domain">[]</field>
<field name="context">{}</field>
- <field name="help">Define here your stages of the recruitment process, for example: qualification call, first interview, second interview, refused, hired.</field>
+ <field name="help" type="html">
+ <p class="oe_view_nocontent_create">
+ Click to add a new stage in the recruitment process.
+ </p><p>
+ Define here your stages of the recruitment process, for example:
+ qualification call, first interview, second interview, refused,
+ hired.
+ </p>
+ </field>
</record>
<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" invisible="1"
- 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"/>
- <button name="stage_next" string="Next" type="object"
- states="open"/>
- <field name="stage_id" widget="statusbar"/>
+ <field name="stage_id" widget="statusbar" clickable="True"/>
</header>
<sheet>
<div class="oe_right oe_button_box">
<label for="title_action"/>
<div>
<field name="date_action"/> -
- <field name="title_action" class="oe_inline" placeholder="Call for proposal"/>
+ <field name="title_action" class="oe_inline" placeholder="e.g. Call for interview"/>
</div>
<field name="priority"/>
<field name="state" invisible="1"/>
<a type="object" name="set_priority" args="['1']">
<img t-attf-src="/web/static/src/img/icons/star-#{priority == 1 ? 'on' : 'off'}.png" width="16" height="16" title="Excellent"/>
</a>
- <img t-att-src="kanban_image('res.users', 'avatar', record.user_id.raw_value[0])" t-att-title="record.user_id.value" width="24" height="24" class="oe_kanban_avatar"/>
+ <img t-att-src="kanban_image('res.users', 'image_small', record.user_id.raw_value[0])" t-att-title="record.user_id.value" width="24" height="24" class="oe_kanban_avatar"/>
+
</div>
</div>
<div class="oe_clear"></div>
attrs="{'invisible':[('survey_id','=',False)]}"/>
</div>
</field>
- <field name="company_id" version="7.0" position="after">
+ <xpath expr="/form/sheet/h1" version="7.0" position="after">
<div colspan="4" attrs="{'invisible': [('alias_domain', '=', False)]}">
- <field name="alias_name" nolabel="1" class="oe_inline"/>@<field name="alias_domain" nolabel="1" class="oe_inline"/>
+ <field name="alias_id" invisible="1"/>
+ <label for="alias_name" class="oe_edit_only"/>
+ <field name="alias_name" nolabel="1" class="oe_inline" attrs="{'required': [('alias_id', '!=', False)]}"/>@<field name="alias_domain" nolabel="1" class="oe_inline"/>
</div>
- </field>
+ </xpath>
</field>
</record>
<field name="res_model">hr.recruitment.stage</field>
<field name="view_type">form</field>
<field name="view_id" ref="hr_recruitment_stage_tree"/>
- <field name="help"> Check if the following stages are matching your recruitment process. Don't forget to specify the department if your recruitment process is different according to the job position.</field>
+ <field name="help" type="html">
+ <p class="oe_view_nocontent_create">
+ Click to add a new stage in the recruitment process.
+ </p><p>
+ Don't forget to specify the department if your recruitment process
+ is different according to the job position.
+ </p>
+ </field>
</record>
<menuitem