[IMP] (website_), hr_recruitment: improve the recruitment app
In this commit we have made the following changes.
- Add new refuse reasons:
- Languages issues
- Role already fulfilled
- Duplicate
- Spam
- Refused by Applicant
- Modify refuse reasons:
- Refused by Applicant: don't like job
- Refused by Applicant: better offer
- Clickable job position breadcrumb in website.
- Set default applicant when we create new email template
- Use the `selection_badge` widget in Refuse Reason wizard
task-3336247
closes odoo/odoo#125612
X-original-commit: 94bc52e79e37df6daf9af6cb62efd65d63cbb61e
Signed-off-by: Kevin Baptiste <kba@odoo.com>
This commit is contained in:
@@ -71,11 +71,31 @@
|
||||
<field name="template_id" ref="email_template_data_applicant_refuse"/>
|
||||
</record>
|
||||
<record id="refuse_reason_2" model="hr.applicant.refuse.reason">
|
||||
<field name="name">The applicant is not interested anymore</field>
|
||||
<field name="name">Refused by Applicant: don't like job</field>
|
||||
<field name="template_id" ref="email_template_data_applicant_not_interested"/>
|
||||
</record>
|
||||
<record id="refuse_reason_3" model="hr.applicant.refuse.reason">
|
||||
<field name="name">The applicant gets a better offer</field>
|
||||
<field name="name">Refused by Applicant: better offer</field>
|
||||
<field name="template_id" ref="email_template_data_applicant_not_interested"/>
|
||||
</record>
|
||||
<record id="refuse_reason_4" model="hr.applicant.refuse.reason">
|
||||
<field name="name">Language issues</field>
|
||||
<field name="template_id" ref="email_template_data_applicant_refuse"/>
|
||||
</record>
|
||||
<record id="refuse_reason_5" model="hr.applicant.refuse.reason">
|
||||
<field name="name">Role already fulfilled</field>
|
||||
<field name="template_id" ref="email_template_data_applicant_refuse"/>
|
||||
</record>
|
||||
<record id="refuse_reason_6" model="hr.applicant.refuse.reason">
|
||||
<field name="name">Duplicate</field>
|
||||
<field name="template_id" ref="email_template_data_applicant_refuse"/>
|
||||
</record>
|
||||
<record id="refuse_reason_7" model="hr.applicant.refuse.reason">
|
||||
<field name="name">Spam</field>
|
||||
<field name="template_id" ref="email_template_data_applicant_refuse"/>
|
||||
</record>
|
||||
<record id="refuse_reason_8" model="hr.applicant.refuse.reason">
|
||||
<field name="name">Refused by Applicant: salary</field>
|
||||
<field name="template_id" ref="email_template_data_applicant_not_interested"/>
|
||||
</record>
|
||||
|
||||
|
||||
@@ -1067,6 +1067,11 @@ msgid ""
|
||||
" is different according to the job position."
|
||||
msgstr ""
|
||||
|
||||
#. module: hr_recruitment
|
||||
#: model:hr.applicant.refuse.reason,name:hr_recruitment.refuse_reason_6
|
||||
msgid "Duplicate"
|
||||
msgstr ""
|
||||
|
||||
#. module: hr_recruitment
|
||||
#: model:ir.model.fields,field_description:hr_recruitment.field_hr_applicant__email_from
|
||||
#: model:ir.model.fields,field_description:hr_recruitment.field_hr_recruitment_source__email
|
||||
@@ -1538,6 +1543,11 @@ msgstr ""
|
||||
msgid "Language"
|
||||
msgstr ""
|
||||
|
||||
#. module: hr_recruitment
|
||||
#: model:hr.applicant.refuse.reason,name:hr_recruitment.refuse_reason_4
|
||||
msgid "Language issues"
|
||||
msgstr ""
|
||||
|
||||
#. module: hr_recruitment
|
||||
#. odoo-python
|
||||
#: code:addons/hr_recruitment/models/hr_applicant.py:0
|
||||
@@ -2171,6 +2181,21 @@ msgstr ""
|
||||
msgid "Refused"
|
||||
msgstr ""
|
||||
|
||||
#. module: hr_recruitment
|
||||
#: model:hr.applicant.refuse.reason,name:hr_recruitment.refuse_reason_3
|
||||
msgid "Refused by Applicant: better offer"
|
||||
msgstr ""
|
||||
|
||||
#. module: hr_recruitment
|
||||
#: model:hr.applicant.refuse.reason,name:hr_recruitment.refuse_reason_2
|
||||
msgid "Refused by Applicant: don't like job"
|
||||
msgstr ""
|
||||
|
||||
#. module: hr_recruitment
|
||||
#: model:hr.applicant.refuse.reason,name:hr_recruitment.refuse_reason_8
|
||||
msgid "Refused by Applicant: salary"
|
||||
msgstr ""
|
||||
|
||||
#. module: hr_recruitment
|
||||
#: model_terms:ir.ui.view,arch_db:hr_recruitment.hr_job_survey
|
||||
msgid "Remote"
|
||||
@@ -2214,6 +2239,11 @@ msgstr ""
|
||||
msgid "Restore"
|
||||
msgstr ""
|
||||
|
||||
#. module: hr_recruitment
|
||||
#: model:hr.applicant.refuse.reason,name:hr_recruitment.refuse_reason_5
|
||||
msgid "Role already fulfilled"
|
||||
msgstr ""
|
||||
|
||||
#. module: hr_recruitment
|
||||
#: model_terms:ir.ui.view,arch_db:hr_recruitment.hr_applicant_view_search_bis
|
||||
msgid "Resume's content"
|
||||
@@ -2373,6 +2403,11 @@ msgstr ""
|
||||
msgid "Sources of Applicants"
|
||||
msgstr ""
|
||||
|
||||
#. module: hr_recruitment
|
||||
#: model:hr.applicant.refuse.reason,name:hr_recruitment.refuse_reason_7
|
||||
msgid "Spam"
|
||||
msgstr ""
|
||||
|
||||
#. module: hr_recruitment
|
||||
#: model:ir.model.fields,help:hr_recruitment.field_hr_recruitment_stage__job_ids
|
||||
msgid ""
|
||||
@@ -2488,16 +2523,6 @@ msgid ""
|
||||
"process."
|
||||
msgstr ""
|
||||
|
||||
#. module: hr_recruitment
|
||||
#: model:hr.applicant.refuse.reason,name:hr_recruitment.refuse_reason_3
|
||||
msgid "The applicant gets a better offer"
|
||||
msgstr ""
|
||||
|
||||
#. module: hr_recruitment
|
||||
#: model:hr.applicant.refuse.reason,name:hr_recruitment.refuse_reason_2
|
||||
msgid "The applicant is not interested anymore"
|
||||
msgstr ""
|
||||
|
||||
#. module: hr_recruitment
|
||||
#: model:ir.model.fields,help:hr_recruitment.field_hr_applicant__availability
|
||||
msgid "The date at which the applicant will be available to start working"
|
||||
|
||||
@@ -18,7 +18,7 @@
|
||||
<field name="active" invisible="1"/>
|
||||
</div>
|
||||
<group>
|
||||
<field name="template_id"/>
|
||||
<field name="template_id" context="{'default_model': 'hr.applicant'}"/>
|
||||
</group>
|
||||
</sheet>
|
||||
</form>
|
||||
@@ -32,7 +32,7 @@
|
||||
<tree string="Refuse Reason" editable="bottom">
|
||||
<field name="sequence" widget="handle"/>
|
||||
<field name="name"/>
|
||||
<field name="template_id"/>
|
||||
<field name="template_id" context="{'default_model': 'hr.applicant'}"/>
|
||||
</tree>
|
||||
</field>
|
||||
</record>
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
<field name="arch" type="xml">
|
||||
<form string="Refuse Reason">
|
||||
<group col="1">
|
||||
<field name="refuse_reason_id"/>
|
||||
<field name="refuse_reason_id" widget="selection_badge" options="{'horizontal': true, 'no_create': True, 'no_open': True}"/>
|
||||
<field name="send_mail" attrs="{'invisible': [('refuse_reason_id', '=', False)]}"/>
|
||||
<field name="template_id" attrs="{'invisible': [('send_mail', '=', False)], 'required': [('send_mail', '=', True)]}" />
|
||||
<field name="applicant_ids" invisible="1"/>
|
||||
|
||||
@@ -809,3 +809,8 @@ msgstr ""
|
||||
#: model_terms:ir.ui.view,arch_db:website_hr_recruitment.index
|
||||
msgid "unpublished"
|
||||
msgstr ""
|
||||
|
||||
#. module: website_hr_recruitment
|
||||
#: model_terms:ir.ui.view,arch_db:website_hr_recruitment.apply
|
||||
msgid "Optional if you provided a Linkedin profile"
|
||||
msgstr ""
|
||||
|
||||
@@ -168,7 +168,11 @@
|
||||
<nav aria-label="breadcrumb" class="mt-5">
|
||||
<ol class="breadcrumb ps-0 mb-0 pb-1">
|
||||
<li class="breadcrumb-item"><a href="/jobs" class="text-secondary fw-bold">Jobs</a></li>
|
||||
<li class="breadcrumb-item active" aria-current="page"><span t-field="job.name"/></li>
|
||||
<li class="breadcrumb-item active" aria-current="page">
|
||||
<a t-attf-href="/jobs/detail/#{slug(job)}">
|
||||
<span t-field="job.name"/>
|
||||
</a>
|
||||
</li>
|
||||
</ol>
|
||||
</nav>
|
||||
<h1 class="mb-4">
|
||||
@@ -257,9 +261,11 @@
|
||||
<input id="recruitment6" type="file"
|
||||
class="form-control s_website_form_input o_resume_input"
|
||||
name="Resume"/>
|
||||
<span class="text-muted" style="font-size: 0.8rem">Optional if you provided a Linkedin profile</span>
|
||||
</div>
|
||||
</div>
|
||||
<span class="text-muted" style="margin-left: 200px; font-size: 0.8rem">The resume is optional if you have a Linkedin profile</span>
|
||||
<!-- TODO: remove in master -->
|
||||
<span class="d-none text-muted" style="margin-left: 200px; font-size: 0.8rem">The resume is optional if you have a Linkedin profile</span>
|
||||
</div>
|
||||
<div class="col-12 mb-0 py-2 s_website_form_field"
|
||||
data-type="text" data-name="Field">
|
||||
|
||||
Reference in New Issue
Block a user