2009-12-04 14:15:17 +00:00
|
|
|
<?xml version="1.0"?>
|
|
|
|
<openerp>
|
|
|
|
<data>
|
2010-05-27 09:26:52 +00:00
|
|
|
|
2012-07-25 18:16:10 +00:00
|
|
|
<menuitem name="Recruitment"
|
|
|
|
id="menu_hr_recruitment_recruitment"
|
|
|
|
parent="hr.menu_hr_configuration"
|
|
|
|
sequence="40"/>
|
2012-05-17 12:09:11 +00:00
|
|
|
|
2012-07-25 18:16:10 +00:00
|
|
|
<act_window
|
|
|
|
id="act_hr_applicant_to_meeting"
|
|
|
|
name="Meetings"
|
|
|
|
res_model="crm.meeting"
|
|
|
|
src_model="hr.applicant"
|
|
|
|
view_mode="tree,form,calendar,graph"
|
|
|
|
view_type="form"/>
|
2010-01-12 06:43:23 +00:00
|
|
|
|
2012-07-25 18:16:10 +00:00
|
|
|
<!-- Stage -->
|
2010-02-28 19:44:19 +00:00
|
|
|
<record id="hr_job_stage_act" model="ir.actions.act_window">
|
2010-12-30 10:18:57 +00:00
|
|
|
<field name="name">Recruitment / Applicants Stages</field>
|
2010-06-11 13:12:09 +00:00
|
|
|
<field name="res_model">hr.recruitment.stage</field>
|
2010-02-28 19:44:19 +00:00
|
|
|
<field name="view_type">form</field>
|
2010-06-11 13:12:09 +00:00
|
|
|
<field name="domain">[]</field>
|
|
|
|
<field name="context">{}</field>
|
2012-08-04 14:35:56 +00:00
|
|
|
<field name="help" type="html">
|
2012-08-04 13:56:31 +00:00
|
|
|
<p class="oe_view_nocontent_create">
|
2012-08-04 13:21:36 +00:00
|
|
|
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>
|
2010-02-28 19:44:19 +00:00
|
|
|
</record>
|
2010-05-27 09:26:52 +00:00
|
|
|
|
2010-02-28 19:44:19 +00:00
|
|
|
|
2012-07-25 18:16:10 +00:00
|
|
|
<!-- Jobs -->
|
2012-06-26 11:44:37 +00:00
|
|
|
<!-- Applicant Read/Unread actions -->
|
|
|
|
<record id="actions_server_applicant_unread" model="ir.actions.server">
|
|
|
|
<field name="name">Mark unread</field>
|
|
|
|
<field name="condition">True</field>
|
|
|
|
<field name="type">ir.actions.server</field>
|
|
|
|
<field name="model_id" ref="model_hr_applicant"/>
|
|
|
|
<field name="state">code</field>
|
|
|
|
<field name="code">self.message_check_and_set_unread(cr, uid, context.get('active_ids'), context=context)</field>
|
|
|
|
</record>
|
|
|
|
<record id="action_applicant_unread" model="ir.values">
|
|
|
|
<field name="name">action_project_unread</field>
|
|
|
|
<field name="action_id" ref="actions_server_applicant_unread"/>
|
2012-07-25 17:40:49 +00:00
|
|
|
<field name="value" eval="'ir.actions.server,' + str(ref('actions_server_applicant_unread'))"/>
|
2012-06-26 11:44:37 +00:00
|
|
|
<field name="key">action</field>
|
2012-07-25 17:40:49 +00:00
|
|
|
<field name="model_id" ref="model_hr_applicant"/>
|
2012-06-26 11:44:37 +00:00
|
|
|
<field name="model">hr.applicant</field>
|
|
|
|
<field name="key2">client_action_multi</field>
|
|
|
|
</record>
|
|
|
|
|
|
|
|
<record id="actions_server_applicant_read" model="ir.actions.server">
|
|
|
|
<field name="name">Mark read</field>
|
|
|
|
<field name="condition">True</field>
|
|
|
|
<field name="type">ir.actions.server</field>
|
|
|
|
<field name="model_id" ref="model_hr_applicant"/>
|
|
|
|
<field name="state">code</field>
|
|
|
|
<field name="code">self.message_check_and_set_read(cr, uid, context.get('active_ids'), context=context)</field>
|
|
|
|
</record>
|
|
|
|
<record id="action_applicant_read" model="ir.values">
|
|
|
|
<field name="name">action_project_read</field>
|
|
|
|
<field name="action_id" ref="actions_server_applicant_read"/>
|
2012-07-25 17:40:49 +00:00
|
|
|
<field name="value" eval="'ir.actions.server,' + str(ref('actions_server_applicant_read'))"/>
|
2012-06-26 11:44:37 +00:00
|
|
|
<field name="key">action</field>
|
2012-07-25 17:40:49 +00:00
|
|
|
<field name="model_id" ref="model_hr_applicant"/>
|
2012-06-26 11:44:37 +00:00
|
|
|
<field name="model">hr.applicant</field>
|
|
|
|
<field name="key2">client_action_multi</field>
|
|
|
|
</record>
|
|
|
|
|
2010-02-28 20:36:51 +00:00
|
|
|
<record model="ir.ui.view" id="crm_case_tree_view_job">
|
2010-02-28 19:44:19 +00:00
|
|
|
<field name="name">Applicants</field>
|
2010-02-28 19:58:15 +00:00
|
|
|
<field name="model">hr.applicant</field>
|
2009-12-04 14:15:17 +00:00
|
|
|
<field name="arch" type="xml">
|
2012-08-16 09:26:16 +00:00
|
|
|
<tree string="Applicants" fonts="bold:message_unread==True" colors="grey:state in ('cancel','done');blue:state=='pending'">
|
|
|
|
<field name="message_unread" invisible="1"/>
|
2012-03-14 06:34:43 +00:00
|
|
|
<field name="create_date" groups="base.group_no_one"/>
|
2010-12-21 12:54:41 +00:00
|
|
|
<field name="name" string="Subject"/>
|
2010-02-28 19:44:19 +00:00
|
|
|
<field name="partner_name"/>
|
|
|
|
<field name="email_from"/>
|
|
|
|
<field name="partner_phone"/>
|
|
|
|
<field name="job_id"/>
|
2009-12-04 14:15:17 +00:00
|
|
|
<field name="stage_id"/>
|
2010-07-26 06:15:27 +00:00
|
|
|
<field name="title_action" invisible="context.get('invisible_next_action', True)"/>
|
|
|
|
<field name="date_action" invisible="context.get('invisible_next_date', True)"/>
|
2011-08-18 19:30:44 +00:00
|
|
|
<field name="source_id" invisible="1"/>
|
2010-04-07 10:41:20 +00:00
|
|
|
<field name="survey" invisible="1"/>
|
|
|
|
<field name="response" invisible="1"/>
|
2010-02-28 19:44:19 +00:00
|
|
|
<field name="priority"/>
|
|
|
|
<field name="type_id" invisible="1"/>
|
|
|
|
<field name="availability" invisible="1"/>
|
|
|
|
<field name="department_id" invisible="context.get('invisible_department', True)"/>
|
2009-12-04 14:15:17 +00:00
|
|
|
<field name="user_id"/>
|
2012-09-05 09:18:56 +00:00
|
|
|
<field name="state" invisible="1"/>
|
2009-12-04 14:15:17 +00:00
|
|
|
</tree>
|
|
|
|
</field>
|
|
|
|
</record>
|
|
|
|
|
2010-02-28 20:36:51 +00:00
|
|
|
<record model="ir.ui.view" id="crm_case_form_view_job">
|
2010-02-19 10:47:19 +00:00
|
|
|
<field name="name">Jobs - Recruitment Form</field>
|
2010-02-28 19:58:15 +00:00
|
|
|
<field name="model">hr.applicant</field>
|
2009-12-04 14:15:17 +00:00
|
|
|
<field name="arch" type="xml">
|
2012-06-13 15:18:55 +00:00
|
|
|
<form string="Jobs - Recruitment Form" version="7.0">
|
2012-06-04 12:11:39 +00:00
|
|
|
<header>
|
2012-07-19 11:53:56 +00:00
|
|
|
<button name="case_close_with_emp" string="Hire" type="object"
|
2012-09-03 09:31:27 +00:00
|
|
|
states="draft,open,pending" class="oe_highlight"/>
|
2012-05-25 11:51:43 +00:00
|
|
|
<button name="case_cancel" string="Refuse" type="object"
|
2012-06-20 10:12:05 +00:00
|
|
|
states="draft,open,pending" class="oe_highlight"/>
|
2012-08-08 17:02:15 +00:00
|
|
|
<field name="stage_id" widget="statusbar" clickable="True"/>
|
2012-06-04 12:11:39 +00:00
|
|
|
</header>
|
2012-06-13 15:18:55 +00:00
|
|
|
<sheet>
|
2012-06-19 08:56:18 +00:00
|
|
|
<div class="oe_right oe_button_box">
|
2012-06-14 09:31:48 +00:00
|
|
|
<button name="action_makeMeeting" type="object"
|
2012-09-10 22:10:08 +00:00
|
|
|
string="Schedule Meeting" help="Schedule interview with this applicant"/>
|
2012-06-14 09:31:48 +00:00
|
|
|
<button name="%(survey.action_view_survey_question_message)d" type="action"
|
2012-09-10 22:07:26 +00:00
|
|
|
string="Start Interview" help="Answer related job question"
|
2012-06-14 09:31:48 +00:00
|
|
|
context="{'survey_id': survey, 'response_id': [response], 'response_no':0 ,'active' : response, 'object' : 'hr.applicant'}"
|
|
|
|
attrs="{'invisible':[('survey','=',False)]}"/>
|
|
|
|
<button name="action_print_survey" type="object"
|
2012-09-10 22:07:26 +00:00
|
|
|
string="Print Interview" help="Print interview report"
|
2012-06-14 09:31:48 +00:00
|
|
|
attrs="{'invisible':[('survey','=',False)]}"/>
|
2012-06-13 15:18:55 +00:00
|
|
|
</div>
|
2012-06-19 08:56:18 +00:00
|
|
|
<div class="oe_title">
|
|
|
|
<label for="name" class="oe_edit_only"/>
|
2012-06-13 15:18:55 +00:00
|
|
|
<h1><field name="name"/></h1>
|
2012-06-19 08:56:18 +00:00
|
|
|
<label for="partner_name" class="oe_edit_only"/>
|
2012-06-25 07:17:05 +00:00
|
|
|
<h2>
|
|
|
|
<field name="partner_name" class="oe_inline"/>
|
2012-06-21 08:30:53 +00:00
|
|
|
</h2>
|
2012-06-13 15:18:55 +00:00
|
|
|
</div>
|
2012-06-14 08:30:22 +00:00
|
|
|
<group>
|
2012-06-13 15:18:55 +00:00
|
|
|
<group>
|
2012-07-05 16:11:18 +00:00
|
|
|
<field name="partner_id"
|
|
|
|
on_change="onchange_partner_id(partner_id, email_from)"/>
|
|
|
|
<field name="email_from" widget="email"/>
|
|
|
|
<field name="partner_phone"/>
|
|
|
|
<field name="partner_mobile"/>
|
|
|
|
<field name="type_id" placeholder="Degree"/>
|
2012-06-13 15:18:55 +00:00
|
|
|
</group>
|
|
|
|
<group>
|
|
|
|
<field name="user_id"/>
|
2012-06-21 08:30:53 +00:00
|
|
|
<label for="title_action"/>
|
|
|
|
<div>
|
2012-06-25 07:17:05 +00:00
|
|
|
<field name="date_action"/> -
|
2012-08-06 19:05:27 +00:00
|
|
|
<field name="title_action" class="oe_inline" placeholder="e.g. Call for interview"/>
|
2012-06-21 08:30:53 +00:00
|
|
|
</div>
|
2012-07-05 16:11:18 +00:00
|
|
|
<field name="priority"/>
|
2012-07-05 15:49:41 +00:00
|
|
|
<field name="state" invisible="1"/>
|
2012-07-10 10:30:11 +00:00
|
|
|
<field name="source_id"/>
|
|
|
|
<field name="reference"/>
|
2012-06-13 15:18:55 +00:00
|
|
|
</group>
|
2012-07-05 15:49:41 +00:00
|
|
|
<group string="Job">
|
2012-04-10 19:59:44 +00:00
|
|
|
<field name="survey" invisible="1"/>
|
|
|
|
<field name="response" invisible="1"/>
|
2012-07-05 16:11:18 +00:00
|
|
|
<field name="job_id" on_change="onchange_job(job_id)"/>
|
2012-06-25 07:17:05 +00:00
|
|
|
<field name="department_id" on_change="onchange_department_id(department_id)"/>
|
2012-07-05 15:49:41 +00:00
|
|
|
<label for="availability"/>
|
|
|
|
<div>
|
|
|
|
<field name="availability" class="oe_inline"/> <label string="Day(s)" class="oe_inline"/>
|
|
|
|
</div>
|
|
|
|
</group>
|
|
|
|
<group string="Contract">
|
|
|
|
<label for="salary_expected"/>
|
|
|
|
<div>
|
2012-07-25 17:40:49 +00:00
|
|
|
<field name="salary_expected" class="oe_inline"/>,
|
2012-07-05 15:49:41 +00:00
|
|
|
<field name="salary_expected_extra" class="oe_inline" placeholder="Extra advantages..."/>
|
|
|
|
</div>
|
|
|
|
<label for="salary_proposed"/>
|
|
|
|
<div>
|
2012-07-25 17:40:49 +00:00
|
|
|
<field name="salary_proposed" class="oe_inline"/>,
|
2012-07-05 15:49:41 +00:00
|
|
|
<field name="salary_proposed_extra" class="oe_inline" placeholder="Extra advantages..."/>
|
|
|
|
</div>
|
2012-06-13 15:18:55 +00:00
|
|
|
</group>
|
2010-06-12 17:49:33 +00:00
|
|
|
</group>
|
2012-08-16 14:44:03 +00:00
|
|
|
<group>
|
|
|
|
<field name="categ_ids" widget="many2many_tags"/>
|
|
|
|
</group>
|
2012-07-05 15:49:41 +00:00
|
|
|
<separator string="Application Summary"/>
|
|
|
|
<field name="description" placeholder="Feedback of interviews..."/>
|
2012-04-10 13:20:43 +00:00
|
|
|
</sheet>
|
2012-07-13 09:53:41 +00:00
|
|
|
<div class="oe_chatter">
|
2012-07-03 12:41:11 +00:00
|
|
|
<field name="message_ids" widget="mail_thread"/>
|
2012-08-15 22:30:38 +00:00
|
|
|
<field name="message_follower_ids" widget="mail_followers"/>
|
2012-07-13 09:53:41 +00:00
|
|
|
</div>
|
2012-06-13 15:18:55 +00:00
|
|
|
</form>
|
2009-12-04 14:15:17 +00:00
|
|
|
</field>
|
|
|
|
</record>
|
|
|
|
|
2010-02-28 20:36:51 +00:00
|
|
|
<record model="ir.ui.view" id="crm_case_graph_view_job">
|
2010-02-19 10:47:19 +00:00
|
|
|
<field name="name">Jobs - Recruitment Graph</field>
|
2010-02-28 19:58:15 +00:00
|
|
|
<field name="model">hr.applicant</field>
|
2010-01-08 12:05:22 +00:00
|
|
|
<field name="arch" type="xml">
|
|
|
|
<graph string="Cases By Stage and Estimates" type="bar" orientation="vertical">
|
2010-02-28 19:44:19 +00:00
|
|
|
<field name="job_id"/>
|
|
|
|
<field name="salary_expected" operator="+"/>
|
2010-01-08 12:05:22 +00:00
|
|
|
<field name="state" group="True"/>
|
|
|
|
</graph>
|
|
|
|
</field>
|
2010-02-17 08:49:38 +00:00
|
|
|
</record>
|
2010-01-08 12:05:22 +00:00
|
|
|
|
2010-02-28 20:36:51 +00:00
|
|
|
<record id="view_crm_case_jobs_filter" model="ir.ui.view">
|
2010-02-28 19:44:19 +00:00
|
|
|
<field name="name">Jobs - Recruitment Search</field>
|
2010-02-28 19:58:15 +00:00
|
|
|
<field name="model">hr.applicant</field>
|
2010-02-28 19:44:19 +00:00
|
|
|
<field name="arch" type="xml">
|
|
|
|
<search string="Search Jobs">
|
2012-07-20 11:03:40 +00:00
|
|
|
<field name="partner_name" filter_domain="['|','|',('name','ilike',self),('partner_name','ilike',self),('email_from','ilike',self)]" string="Subject / Applicant"/>
|
2012-09-10 22:07:26 +00:00
|
|
|
<filter string="Inbox" help="Unread messages" name="message_unread" domain="[('message_unread','=',True)]"/>
|
2012-07-20 11:03:40 +00:00
|
|
|
<separator/>
|
2012-09-10 22:07:26 +00:00
|
|
|
<filter string="New" domain="[('state','=','draft')]" help="All Initial Jobs"/>
|
|
|
|
<filter string="In Progress" domain="[('state','=','open')]" help="Open Jobs"/>
|
|
|
|
<filter string="Pending" domain="[('state','=','pending')]" help="Pending Jobs"/>
|
2012-07-20 11:03:40 +00:00
|
|
|
<separator/>
|
2012-09-10 22:07:26 +00:00
|
|
|
<filter string="Unassigned Recruitments" domain="[('user_id','=',False)]" help="Unassigned Recruitments"/>
|
2012-07-20 11:03:40 +00:00
|
|
|
<separator/>
|
2012-09-10 22:07:26 +00:00
|
|
|
<filter string="Next Actions" context="{'invisible_next_action':False, 'invisible_next_date':False}"
|
2012-07-20 11:03:40 +00:00
|
|
|
domain="[('date_action','<>',False)]" help="Filter and view on next actions and date"/>
|
2012-07-31 11:28:04 +00:00
|
|
|
<field name="job_id"/>
|
|
|
|
<field name="user_id"/>
|
2011-03-15 14:08:59 +00:00
|
|
|
<group expand="0" string="Group By...">
|
2012-09-10 22:07:26 +00:00
|
|
|
<filter string="Responsible" domain="[]" context="{'group_by':'user_id'}"/>
|
|
|
|
<filter string="Department" domain="[]" context="{'group_by':'department_id'}"/>
|
|
|
|
<filter string="Job" domain="[]" context="{'group_by':'job_id'}"/>
|
|
|
|
<filter string="Degree" domain="[]" context="{'group_by':'type_id'}"/>
|
|
|
|
<filter string="Availability" domain="[]" context="{'group_by':'availability'}"/>
|
|
|
|
<filter string="Appreciation" domain="[]" context="{'group_by':'priority'}"/>
|
|
|
|
<filter string="Stage" domain="[]" context="{'group_by':'stage_id'}"/>
|
|
|
|
<filter string="Source" domain="[]" context="{'group_by':'source_id'}"/>
|
|
|
|
<filter string="Creation Date" domain="[]" context="{'group_by':'create_date'}" groups="base.group_no_one"/>
|
2010-02-28 19:44:19 +00:00
|
|
|
</group>
|
|
|
|
</search>
|
|
|
|
</field>
|
|
|
|
</record>
|
2009-12-04 14:15:17 +00:00
|
|
|
|
2010-07-26 06:15:27 +00:00
|
|
|
<!-- CRM Lead Calendar View -->
|
|
|
|
<record model="ir.ui.view" id="hr_applicant_calendar_view">
|
|
|
|
<field name="name">Hr Applicants Calendar</field>
|
|
|
|
<field name="model">hr.applicant</field>
|
|
|
|
<field name="priority" eval="2"/>
|
|
|
|
<field name="arch" type="xml">
|
|
|
|
<calendar string="Applicants"
|
|
|
|
date_start="date_action" color="user_id">
|
2012-07-25 17:40:49 +00:00
|
|
|
<field name="name"/>
|
|
|
|
<field name="partner_name"/>
|
2012-06-06 06:29:18 +00:00
|
|
|
<field name="title_action"/>
|
2010-07-26 06:15:27 +00:00
|
|
|
</calendar>
|
|
|
|
</field>
|
|
|
|
</record>
|
|
|
|
|
2012-07-25 17:40:49 +00:00
|
|
|
<!-- Hr Applicant Kanban View -->
|
2012-06-13 15:45:57 +00:00
|
|
|
<record model="ir.ui.view" id="hr_kanban_view_applicant">
|
2011-09-16 12:03:52 +00:00
|
|
|
<field name="name">Hr Applicants kanban</field>
|
|
|
|
<field name="model">hr.applicant</field>
|
|
|
|
<field name="arch" type="xml">
|
|
|
|
<kanban default_group_by="stage_id">
|
2012-08-16 16:31:05 +00:00
|
|
|
<field name="stage_id"/>
|
2011-10-25 13:22:54 +00:00
|
|
|
<field name="color"/>
|
|
|
|
<field name="priority"/>
|
|
|
|
<field name="survey"/>
|
2011-11-30 16:38:50 +00:00
|
|
|
<field name="user_id"/>
|
2011-12-05 15:07:06 +00:00
|
|
|
<field name="user_email"/>
|
2012-06-05 11:54:31 +00:00
|
|
|
<field name="partner_name"/>
|
|
|
|
<field name="type_id"/>
|
|
|
|
<field name="job_id"/>
|
2012-06-21 16:11:11 +00:00
|
|
|
<field name="title_action"/>
|
2012-06-29 15:46:09 +00:00
|
|
|
<field name="department_id"/>
|
2012-08-16 15:11:48 +00:00
|
|
|
<field name="categ_ids"/>
|
2012-06-27 10:36:10 +00:00
|
|
|
<templates>
|
2012-06-29 15:46:09 +00:00
|
|
|
<t t-name="kanban-tooltip">
|
2012-09-06 10:46:24 +00:00
|
|
|
<ul class="oe_kanban_tooltip">
|
2012-06-29 15:46:09 +00:00
|
|
|
<li t-if="record.type_id.raw_value"><b>Degree:</b> <field name="type_id"/></li>
|
|
|
|
<li t-if="record.partner_id.raw_value"><b>Contact:</b> <field name="partner_id"/></li>
|
|
|
|
<li t-if="record.department_id.raw_value"><b>Departement:</b> <field name="department_id"/></li>
|
|
|
|
</ul>
|
|
|
|
</t>
|
|
|
|
<t t-name="kanban-box">
|
2012-09-04 16:37:25 +00:00
|
|
|
<div t-attf-class="oe_kanban_color_#{kanban_getcolor(record.color.raw_value)} oe_kanban_card oe_kanban_global_click oe_semantic_html_override">
|
2012-06-29 15:46:09 +00:00
|
|
|
<div class="oe_dropdown_toggle oe_dropdown_kanban">
|
|
|
|
<span class="oe_e">i</span>
|
|
|
|
<ul class="oe_dropdown_menu">
|
2012-09-04 14:12:04 +00:00
|
|
|
<t t-if="widget.view.is_action_enabled('edit')"><li><a type="edit">Edit...</a></li></t>
|
|
|
|
<t t-if="widget.view.is_action_enabled('delete')"><li><a type="delete">Delete</a></li></t>
|
2012-06-29 15:46:09 +00:00
|
|
|
<li><a name="action_makeMeeting" type="object">Schedule Interview</a></li>
|
|
|
|
<li><ul class="oe_kanban_colorpicker" data-field="color"/></li>
|
|
|
|
</ul>
|
|
|
|
</div>
|
|
|
|
<div class="oe_kanban_content" tooltip="kanban-tooltip">
|
|
|
|
<div>
|
|
|
|
<b><field name="name"/></b><br/>
|
|
|
|
<field name="job_id"/><br/>
|
|
|
|
<t t-if="record.partner_mobile.raw_value">Mobile: <field name="partner_mobile"/><br/></t>
|
|
|
|
<t t-if="record.title_action.raw_value"><field name="title_action"/><br/></t>
|
|
|
|
<field name="date_action"/>
|
2012-06-20 14:04:12 +00:00
|
|
|
</div>
|
2012-06-29 15:46:09 +00:00
|
|
|
<div class="oe_kanban_right">
|
|
|
|
<t t-set="priority" t-value="record.priority.raw_value || 5"/>
|
|
|
|
<a type="object" name="set_priority" args="['3']" t-if="priority gt 3">
|
|
|
|
<img src="/web/static/src/img/icons/star-off.png" width="16" height="16" title="Good"/>
|
|
|
|
</a>
|
|
|
|
<a type="object" name="set_priority" args="['5']" t-if="priority lte 3">
|
|
|
|
<img t-attf-src="/web/static/src/img/icons/star-#{priority lte 3 ? 'on' : 'off'}.png" width="16" height="16" title="Good"/>
|
|
|
|
</a>
|
|
|
|
<a type="object" name="set_priority" args="['2']">
|
|
|
|
<img t-attf-src="/web/static/src/img/icons/star-#{priority lte 2 ? 'on' : 'off'}.png" width="16" height="16" title="Very Good"/>
|
|
|
|
</a>
|
|
|
|
<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>
|
2012-08-09 12:53:30 +00:00
|
|
|
<img t-att-src="kanban_image('res.users', 'image_small', record.user_id.raw_value)" t-att-title="record.user_id.value" width="24" height="24" class="oe_kanban_avatar"/>
|
2012-07-30 08:16:00 +00:00
|
|
|
|
2011-09-16 12:03:52 +00:00
|
|
|
</div>
|
2012-08-16 15:11:48 +00:00
|
|
|
<div class="oe_kanban_footer_left" style="margin-top:5px;">
|
|
|
|
<div class="oe_left oe_tags">
|
2012-09-18 19:38:56 +00:00
|
|
|
<field name="categ_ids"/>
|
2012-08-16 15:11:48 +00:00
|
|
|
</div>
|
|
|
|
</div>
|
2011-09-16 12:03:52 +00:00
|
|
|
</div>
|
2012-06-29 15:46:09 +00:00
|
|
|
<div class="oe_clear"></div>
|
|
|
|
</div>
|
|
|
|
</t>
|
|
|
|
</templates>
|
|
|
|
</kanban>
|
|
|
|
</field>
|
|
|
|
</record>
|
2012-06-05 11:54:31 +00:00
|
|
|
|
2012-07-25 18:16:10 +00:00
|
|
|
<!-- HR Job -->
|
2010-03-02 12:48:29 +00:00
|
|
|
<record id="hr_job_survey" model="ir.ui.view">
|
|
|
|
<field name="name">hr.job.form1</field>
|
|
|
|
<field name="model">hr.job</field>
|
|
|
|
<field name="inherit_id" ref="hr.view_hr_job_form"/>
|
|
|
|
<field name="arch" type="xml">
|
2012-06-29 09:06:43 +00:00
|
|
|
<field name="no_of_recruitment" version="7.0" position="after">
|
2012-07-25 17:40:49 +00:00
|
|
|
<label for="survey_id" groups="base.group_user"/>
|
|
|
|
<div groups="base.group_user">
|
2012-09-03 08:43:23 +00:00
|
|
|
<field name="survey_id" class="oe_inline" domain="[('type','=','Human Resources')]"/>
|
2012-06-19 08:56:18 +00:00
|
|
|
<button class="oe_inline"
|
2012-09-10 22:07:26 +00:00
|
|
|
string="Interview"
|
2012-06-13 15:45:57 +00:00
|
|
|
name="action_print_survey" type="object"
|
|
|
|
attrs="{'invisible':[('survey_id','=',False)]}"/>
|
|
|
|
</div>
|
2010-03-02 12:48:29 +00:00
|
|
|
</field>
|
2012-08-06 01:27:17 +00:00
|
|
|
<xpath expr="/form/sheet/h1" version="7.0" position="after">
|
2012-07-05 13:56:26 +00:00
|
|
|
<div colspan="4" attrs="{'invisible': [('alias_domain', '=', False)]}">
|
2012-08-07 14:27:36 +00:00
|
|
|
<field name="alias_id" invisible="1" required="0"/>
|
2012-08-06 01:27:17 +00:00
|
|
|
<label for="alias_name" class="oe_edit_only"/>
|
2012-08-06 17:35:09 +00:00
|
|
|
<field name="alias_name" nolabel="1" class="oe_inline" attrs="{'required': [('alias_id', '!=', False)]}"/>@<field name="alias_domain" nolabel="1" class="oe_inline"/>
|
2012-07-05 13:56:26 +00:00
|
|
|
</div>
|
2012-08-06 01:27:17 +00:00
|
|
|
</xpath>
|
2010-03-02 12:48:29 +00:00
|
|
|
</field>
|
|
|
|
</record>
|
|
|
|
|
2012-07-25 17:40:49 +00:00
|
|
|
<!-- Stage Tree View -->
|
2010-06-12 17:49:33 +00:00
|
|
|
<record model="ir.ui.view" id="hr_recruitment_stage_tree">
|
|
|
|
<field name="name">hr.recruitment.stage.tree</field>
|
|
|
|
<field name="model">hr.recruitment.stage</field>
|
|
|
|
<field name="arch" type="xml">
|
|
|
|
<tree string="Stages">
|
2010-07-20 07:17:40 +00:00
|
|
|
<field name="sequence" invisible="1"/>
|
2010-06-12 17:49:33 +00:00
|
|
|
<field name="name"/>
|
2012-04-25 14:11:35 +00:00
|
|
|
<field name="department_id"/>
|
2012-04-18 12:56:26 +00:00
|
|
|
<field name="state"/>
|
2010-06-12 17:49:33 +00:00
|
|
|
</tree>
|
|
|
|
</field>
|
|
|
|
</record>
|
2010-05-11 13:54:14 +00:00
|
|
|
|
2012-07-25 17:40:49 +00:00
|
|
|
<!-- Stage Form View -->
|
2010-06-12 17:49:33 +00:00
|
|
|
<record model="ir.ui.view" id="hr_recruitment_stage_form">
|
|
|
|
<field name="name">hr.recruitment.stage.form</field>
|
|
|
|
<field name="model">hr.recruitment.stage</field>
|
|
|
|
<field name="arch" type="xml">
|
2012-06-09 14:39:04 +00:00
|
|
|
<form string="Stage" version="7.0">
|
2012-06-13 15:45:57 +00:00
|
|
|
<group string="Stage Definition">
|
2012-09-03 12:33:09 +00:00
|
|
|
<group>
|
|
|
|
<field name="name"/>
|
|
|
|
<field name="department_id"/>
|
|
|
|
</group>
|
|
|
|
<group>
|
|
|
|
<field name="state"/>
|
|
|
|
<field name="sequence"/>
|
|
|
|
<field name="fold"/>
|
|
|
|
</group>
|
2010-07-20 07:17:40 +00:00
|
|
|
</group>
|
2012-06-13 15:45:57 +00:00
|
|
|
<separator string="Requirements"/>
|
|
|
|
<field name="requirements"/>
|
2010-06-12 17:49:33 +00:00
|
|
|
</form>
|
|
|
|
</field>
|
|
|
|
</record>
|
2010-05-11 13:54:14 +00:00
|
|
|
|
2012-07-25 17:40:49 +00:00
|
|
|
<!-- Stage Action -->
|
2010-06-12 17:49:33 +00:00
|
|
|
<record id="hr_recruitment_stage_act" model="ir.actions.act_window">
|
|
|
|
<field name="name">Stages</field>
|
|
|
|
<field name="res_model">hr.recruitment.stage</field>
|
|
|
|
<field name="view_type">form</field>
|
|
|
|
<field name="view_id" ref="hr_recruitment_stage_tree"/>
|
2012-08-04 14:35:56 +00:00
|
|
|
<field name="help" type="html">
|
2012-08-04 13:56:31 +00:00
|
|
|
<p class="oe_view_nocontent_create">
|
2012-08-04 13:21:36 +00:00
|
|
|
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>
|
2010-06-12 17:49:33 +00:00
|
|
|
</record>
|
2010-05-12 05:56:48 +00:00
|
|
|
|
2010-06-12 17:49:33 +00:00
|
|
|
<menuitem
|
|
|
|
id="menu_hr_recruitment_stage"
|
|
|
|
name="Stages"
|
|
|
|
parent="menu_hr_recruitment_recruitment"
|
|
|
|
action="hr_recruitment_stage_act"
|
2012-05-30 10:12:38 +00:00
|
|
|
sequence="1" groups="base.group_no_one"/>
|
2010-05-12 05:56:48 +00:00
|
|
|
|
2012-07-25 17:40:49 +00:00
|
|
|
<!-- Degree Tree View -->
|
2010-07-26 06:15:27 +00:00
|
|
|
<record model="ir.ui.view" id="hr_recruitment_degree_tree">
|
|
|
|
<field name="name">hr.recruitment.degree.tree</field>
|
|
|
|
<field name="model">hr.recruitment.degree</field>
|
|
|
|
<field name="arch" type="xml">
|
|
|
|
<tree string="Degree">
|
|
|
|
<field name="sequence" invisible="1"/>
|
|
|
|
<field name="name"/>
|
|
|
|
</tree>
|
|
|
|
</field>
|
|
|
|
</record>
|
|
|
|
|
2012-07-25 17:40:49 +00:00
|
|
|
<!-- Degree Form View -->
|
2010-07-26 06:15:27 +00:00
|
|
|
<record model="ir.ui.view" id="hr_recruitment_degree_form">
|
|
|
|
<field name="name">hr.recruitment.degree.form</field>
|
|
|
|
<field name="model">hr.recruitment.degree</field>
|
|
|
|
<field name="arch" type="xml">
|
2012-06-09 14:39:04 +00:00
|
|
|
<form string="Degree" version="7.0">
|
2012-06-13 15:45:57 +00:00
|
|
|
<group>
|
|
|
|
<field name="name"/>
|
2010-07-26 06:15:27 +00:00
|
|
|
<field name="sequence"/>
|
2012-06-13 15:45:57 +00:00
|
|
|
</group>
|
2010-07-26 06:15:27 +00:00
|
|
|
</form>
|
|
|
|
</field>
|
|
|
|
</record>
|
|
|
|
|
2012-07-25 17:40:49 +00:00
|
|
|
<!-- Degree Action -->
|
2010-07-26 06:15:27 +00:00
|
|
|
<record id="hr_recruitment_degree_action" model="ir.actions.act_window">
|
|
|
|
<field name="name">Degree</field>
|
|
|
|
<field name="res_model">hr.recruitment.degree</field>
|
|
|
|
<field name="view_type">form</field>
|
|
|
|
<field name="view_id" ref="hr_recruitment_degree_tree"/>
|
|
|
|
</record>
|
|
|
|
|
2011-03-28 12:03:01 +00:00
|
|
|
<menuitem
|
|
|
|
id="menu_hr_recruitment_degree"
|
2011-03-30 09:30:04 +00:00
|
|
|
name="Degrees"
|
2011-03-28 12:03:01 +00:00
|
|
|
parent="menu_hr_recruitment_recruitment"
|
|
|
|
action="hr_recruitment_degree_action"
|
2012-03-22 12:38:23 +00:00
|
|
|
sequence="5" groups="base.group_no_one"/>
|
2011-03-28 12:03:01 +00:00
|
|
|
|
2012-07-25 17:40:49 +00:00
|
|
|
<!-- Source Tree View -->
|
2011-08-18 19:30:44 +00:00
|
|
|
<record model="ir.ui.view" id="hr_recruitment_source_tree">
|
|
|
|
<field name="name">hr.recruitment.source.tree</field>
|
|
|
|
<field name="model">hr.recruitment.source</field>
|
|
|
|
<field name="arch" type="xml">
|
|
|
|
<tree string="Sources of Applicants">
|
|
|
|
<field name="name"/>
|
|
|
|
</tree>
|
|
|
|
</field>
|
|
|
|
</record>
|
|
|
|
<record model="ir.ui.view" id="hr_recruitment_source_form">
|
|
|
|
<field name="name">hr.recruitment.source.form</field>
|
|
|
|
<field name="model">hr.recruitment.source</field>
|
|
|
|
<field name="arch" type="xml">
|
|
|
|
<form string="Sources of Applicants">
|
|
|
|
<field name="name"/>
|
|
|
|
</form>
|
|
|
|
</field>
|
|
|
|
</record>
|
|
|
|
<record id="hr_recruitment_source_action" model="ir.actions.act_window">
|
|
|
|
<field name="name">Sources of Applicants</field>
|
|
|
|
<field name="res_model">hr.recruitment.source</field>
|
|
|
|
<field name="view_type">form</field>
|
|
|
|
</record>
|
|
|
|
|
2012-07-25 17:40:49 +00:00
|
|
|
<menuitem
|
|
|
|
id="menu_hr_recruitment_source"
|
|
|
|
parent="menu_hr_recruitment_recruitment"
|
|
|
|
action="hr_recruitment_source_action"
|
|
|
|
groups="base.group_no_one"
|
|
|
|
sequence="10"/>
|
2011-08-18 19:30:44 +00:00
|
|
|
|
2009-12-04 14:15:17 +00:00
|
|
|
</data>
|
|
|
|
</openerp>
|