mirror of
https://github.com/bringout/oca-ocb-hr.git
synced 2026-04-26 23:52:00 +02:00
19.0 vanilla
This commit is contained in:
parent
a1137a1456
commit
e1d89e11e3
2789 changed files with 1093187 additions and 605897 deletions
|
|
@ -6,9 +6,6 @@
|
|||
<record id="hr.job_developer" model="hr.job">
|
||||
<field name="survey_id" ref="survey_recruitment_form"/>
|
||||
</record>
|
||||
<record id="hr.job_ceo" model="hr.job">
|
||||
<field name="survey_id" ref="survey_recruitment_form"/>
|
||||
</record>
|
||||
<record id="hr.job_cto" model="hr.job">
|
||||
<field name="survey_id" ref="survey_recruitment_form"/>
|
||||
</record>
|
||||
|
|
|
|||
|
|
@ -0,0 +1,37 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<odoo>
|
||||
<data noupdate="1">
|
||||
<record id="mail_template_applicant_interview_invite" model="mail.template">
|
||||
<field name="name">Applicant: Interview</field>
|
||||
<field name="model_id" ref="model_survey_user_input" />
|
||||
<field name="subject">Participate to {{ object.survey_id.display_name }} interview</field>
|
||||
<field name="email_to" eval="False"/>
|
||||
<field name="use_default_to" eval="True"/>
|
||||
<field name="body_html" type="html">
|
||||
<div style="margin: 0px; padding: 0px; font-size: 13px;">
|
||||
<p style="margin: 0px; padding: 0px; font-size: 13px;">
|
||||
Dear <t t-out="object.partner_id.name or 'applicant'">[applicant name]</t><br/><br/>
|
||||
<t>
|
||||
You've progressed through the recruitment process and we would like you to answer some questions.
|
||||
</t>
|
||||
<div style="margin: 16px 0px 16px 0px;">
|
||||
<a t-att-href="(object.get_start_url())"
|
||||
t-attf-style="background-color: {{user.company_id.email_secondary_color or '#875A7B'}}; padding: 8px 16px 8px 16px; text-decoration: none; color: {{user.company_id.email_primary_color or '#FFFFFF'}}; border-radius: 5px; font-size:13px;">
|
||||
<t>
|
||||
Start the written interview
|
||||
</t>
|
||||
</a>
|
||||
</div>
|
||||
<t t-if="object.deadline">
|
||||
Please answer the interview for <t t-out="format_date(object.deadline)">[deadline date]</t>.<br/><br/>
|
||||
</t>
|
||||
<t>
|
||||
We wish you good luck! Thank you in advance for your participation.
|
||||
</t>
|
||||
</p>
|
||||
</div>
|
||||
</field>
|
||||
<field name="auto_delete" eval="True"/>
|
||||
</record>
|
||||
</data>
|
||||
</odoo>
|
||||
|
|
@ -1,6 +1,7 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<odoo><data noupdate="1">
|
||||
<record id="survey_recruitment_form" model="survey.survey">
|
||||
<field name="survey_type">recruitment</field>
|
||||
<field name="title">Recruitment Form</field>
|
||||
<field name="user_id" ref="base.user_admin"/>
|
||||
<field name="access_mode">token</field>
|
||||
|
|
@ -13,6 +14,7 @@
|
|||
<p>
|
||||
Thank you for answering this survey. We will come back to you soon.
|
||||
</p></field>
|
||||
<field name="lang_ids" eval="False"/>
|
||||
</record>
|
||||
|
||||
<record id="survey_recruitment_form_p1" model="survey.question">
|
||||
|
|
@ -28,13 +30,13 @@
|
|||
<record id="survey_recruitment_form_p1_q1" model="survey.question">
|
||||
<field name="survey_id" ref="survey_recruitment_form"/>
|
||||
<field name="sequence">2</field>
|
||||
<field name="title">Which country are you from ?</field>
|
||||
<field name="title">Which country are you from?</field>
|
||||
<field name="question_type">char_box</field>
|
||||
</record>
|
||||
<record id="survey_recruitment_form_p1_q2" model="survey.question">
|
||||
<field name="survey_id" ref="survey_recruitment_form"/>
|
||||
<field name="sequence">3</field>
|
||||
<field name="title">From which university did or will you graduate ?</field>
|
||||
<field name="title">From which university did or will you graduate?</field>
|
||||
<field name="question_type">char_box</field>
|
||||
</record>
|
||||
<record id="survey_recruitment_form_p1_q3" model="survey.question">
|
||||
|
|
@ -65,7 +67,7 @@
|
|||
<field name="sequence">6</field>
|
||||
<field name="title">Knowledge</field>
|
||||
<field name="description" type="html">
|
||||
<p>What are your main knowledge regarding the job you are applying to ?</p></field>
|
||||
<p>What are your main knowledge regarding the job you are applying to?</p></field>
|
||||
<field name="question_type">text_box</field>
|
||||
</record>
|
||||
<record id="survey_recruitment_form_p1_q7" model="survey.question">
|
||||
|
|
@ -80,7 +82,7 @@
|
|||
<record id="survey_recruitment_form_p1_q8" model="survey.question">
|
||||
<field name="survey_id" ref="survey_recruitment_form"/>
|
||||
<field name="sequence">8</field>
|
||||
<field name="title">What is important for you ?</field>
|
||||
<field name="title">What is important for you?</field>
|
||||
<field name="question_type">matrix</field>
|
||||
<field name="matrix_subtype">simple</field>
|
||||
</record>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue