| 1 | <?xml version="1.0" encoding="utf-8"?> |
| 2 | <odoo> |
| 3 | <data noupdate="1"> |
| 4 | <record id="mail_template_applicant_interview_invite" model="mail.template"> |
| 5 | <field name="name">Applicant: Interview</field> |
| 6 | <field name="model_id" ref="model_survey_user_input" /> |
| 7 | <field name="subject">Participate to {{ object.survey_id.display_name }} interview</field> |
| 8 | <field name="email_to" eval="False"/> |
| 9 | <field name="use_default_to" eval="True"/> |
| 10 | <field name="body_html" type="html"> |
| 11 | <div style="margin: 0px; padding: 0px; font-size: 13px;"> |
| 12 | <p style="margin: 0px; padding: 0px; font-size: 13px;"> |
| 13 | Dear <t t-out="object.partner_id.name or 'applicant'">[applicant name]</t><br/><br/> |
| 14 | <t> |
| 15 | You've progressed through the recruitment process and we would like you to answer some questions. |
| 16 | </t> |
| 17 | <div style="margin: 16px 0px 16px 0px;"> |
| 18 | <a t-att-href="(object.get_start_url())" |
| 19 | 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;"> |
| 20 | <t> |
| 21 | Start the written interview |
| 22 | </t> |
| 23 | </a> |
| 24 | </div> |
| 25 | <t t-if="object.deadline"> |
| 26 | Please answer the interview for <t t-out="format_date(object.deadline)">[deadline date]</t>.<br/><br/> |
| 27 | </t> |
| 28 | <t> |
| 29 | We wish you good luck! Thank you in advance for your participation. |
| 30 | </t> |
| 31 | </p> |
| 32 | </div> |
| 33 | </field> |
| 34 | <field name="auto_delete" eval="True"/> |
| 35 | </record> |
| 36 | </data> |
| 37 | </odoo> |