38 lines
1.7 KiB
XML
38 lines
1.7 KiB
XML
<?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">{{ (object.partner_id.email_formatted or object.email) }}</field>
|
|
<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())"
|
|
style="background-color: #875A7B; padding: 8px 16px 8px 16px; text-decoration: none; color: #fff; 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="lang">{{ object.partner_id.lang }}</field>
|
|
<field name="auto_delete" eval="True"/>
|
|
</record>
|
|
</data>
|
|
</odoo>
|