[IMP] hr_recruitment: improve applicant form
bzr revid: rco@openerp.com-20120613151855-qma380l3yi5a56jt
This commit is contained in:
@@ -79,7 +79,7 @@
|
||||
<field name="model">hr.applicant</field>
|
||||
<field name="type">form</field>
|
||||
<field name="arch" type="xml">
|
||||
<form string="Jobs - Recruitment Form" version="7.0">
|
||||
<form string="Jobs - Recruitment Form" version="7.0">
|
||||
<header>
|
||||
<button name="%(action_hr_recruitment_hired_employee)d" string="Hire" type="action"
|
||||
states="open,pending"/>
|
||||
@@ -95,72 +95,73 @@
|
||||
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" domain="['|',('department_id','=',department_id),('department_id','=',False)]"/>
|
||||
<field name="stage_id" widget="statusbar"/>
|
||||
</header>
|
||||
<sheet >
|
||||
<group colspan="4" col="10">
|
||||
<h1><field name="name" colspan="4" nolabel="1"/></h1>
|
||||
<h1><button name="action_makeMeeting" type="object" colspan="2" string="Schedule Interview" icon="gtk-index" help="Schedule interview with this applicant"/>
|
||||
<sheet>
|
||||
<div class="oe_right oe_form_button_box">
|
||||
<button name="action_makeMeeting" type="object" string="Schedule Interview" icon="gtk-index" help="Schedule interview with this applicant"/>
|
||||
<button name="%(survey.action_view_survey_question_message)d" string="Start Interview" type="action" icon="gtk-execute" context="{'survey_id': survey, 'response_id': [response], 'response_no':0 ,'active' : response, 'object' : 'hr.applicant'}" attrs="{'invisible':[('survey','=',False)]}" help="Answer related job question"/>
|
||||
<button name="action_print_survey" string="Print Interview" type="object" icon="gtk-print" attrs="{'invisible':[('survey','=',False)]}" help="Print interview report"/></h1>
|
||||
</group>
|
||||
<field name="type_id" nolabel="1" placeholder="Degree"/>
|
||||
<group colspan="4" col="4">
|
||||
<button name="action_print_survey" string="Print Interview" type="object" icon="gtk-print" attrs="{'invisible':[('survey','=',False)]}" help="Print interview report"/>
|
||||
</div>
|
||||
<div class="oe_form_title">
|
||||
<label for="name" class="oe_form_readonly_hidden"/>
|
||||
<h1><field name="name"/></h1>
|
||||
<field name="type_id" placeholder="Degree"/>
|
||||
</div>
|
||||
|
||||
<group>
|
||||
<group>
|
||||
<field name="partner_name"/>
|
||||
<field name="user_id"/>
|
||||
<field name="title_action"/>
|
||||
<field name="date_action"/>
|
||||
</group>
|
||||
<group>
|
||||
<field name="job_id" on_change="onchange_job(job_id)"/>
|
||||
<field name="user_id"/>
|
||||
<field name="priority" string="Appreciation"/>
|
||||
<field name="title_action"/>
|
||||
<field name="department_id" widget="selection" on_change="onchange_department_id(department_id)"/>
|
||||
<field name="date_action"/>
|
||||
<field name="priority" string="Appreciation"/>
|
||||
<field name="survey" invisible="1"/>
|
||||
<field name="response" invisible="1"/>
|
||||
<field name="department_id" widget="selection" on_change="onchange_department_id(department_id)"/>
|
||||
<field name="state" groups="base.group_no_one"/>
|
||||
</group>
|
||||
</group>
|
||||
<field name="state" groups="base.group_no_one"/>
|
||||
<notebook colspan="4">
|
||||
<notebook>
|
||||
<page string="Application">
|
||||
<group col="12" colspan="6">
|
||||
<group col="3" colspan="4" class="oe_form_group_label_border">
|
||||
<separator colspan="4" string="Contact"/>
|
||||
<field name="partner_id" colspan="1"
|
||||
on_change="onchange_partner_id(partner_id, email_from)"/>
|
||||
<button string="Create Contact"
|
||||
name="%(action_hr_recruitment_partner_create)d"
|
||||
icon="gtk-index"
|
||||
type="action" colspan="1"
|
||||
<group>
|
||||
<group string="Contact">
|
||||
<label for="partner_id"/>
|
||||
<div>
|
||||
<field name="partner_id" class="oe_form_inline" on_change="onchange_partner_id(partner_id, email_from)"/>
|
||||
<button class="oe_form_inline"
|
||||
string="Create Contact" icon="gtk-index"
|
||||
name="%(action_hr_recruitment_partner_create)d" type="action"
|
||||
attrs="{'invisible':[('partner_id','!=',False)]}"/>
|
||||
<field name="email_from" colspan="1"/>
|
||||
<button string="Mail"
|
||||
name="%(mail.action_email_compose_message_wizard)d"
|
||||
icon="terp-mail-message-new"
|
||||
type="action" colspan="1"
|
||||
attrs="{'invisible':[('email_from','=',False)]}"/>
|
||||
<field name="partner_phone" colspan="3"/>
|
||||
<field name="partner_mobile" colspan="3"/>
|
||||
</div>
|
||||
<field name="email_from" widget="email"/>
|
||||
<field name="partner_phone"/>
|
||||
<field name="partner_mobile"/>
|
||||
</group>
|
||||
<group col="2" colspan="4" class="oe_form_group_label_border">
|
||||
<separator colspan="2" string="Reference"/>
|
||||
<group string="Reference">
|
||||
<field name="source_id"/>
|
||||
<field name="reference"/>
|
||||
</group>
|
||||
<group col="3" colspan="4" class="oe_form_group_label_border">
|
||||
<separator colspan="3" string="Contracts"/>
|
||||
<field name="availability" colspan="3"/>
|
||||
<group string="Contract">
|
||||
<field name="salary_expected"/>
|
||||
<field name="salary_expected_extra" nolabel="1"/>
|
||||
<field name="salary_expected_extra"/>
|
||||
<field name="salary_proposed"/>
|
||||
<field name="salary_proposed_extra" nolabel="1"/>
|
||||
<field name="salary_proposed_extra"/>
|
||||
<field name="availability"/>
|
||||
</group>
|
||||
</group>
|
||||
<separator colspan="3" string="Details"/>
|
||||
<field name="description" nolabel="1" colspan="4"/>
|
||||
<separator string="Details"/>
|
||||
<field name="description"/>
|
||||
</page>
|
||||
</notebook>
|
||||
</sheet>
|
||||
<div class="oe_form_bottom">
|
||||
<field name="message_ids" colspan="4" widget="ThreadView" nolabel="1"/>
|
||||
</div>
|
||||
</form>
|
||||
<footer>
|
||||
<field name="message_ids" widget="ThreadView"/>
|
||||
</footer>
|
||||
</form>
|
||||
</field>
|
||||
</record>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user