Files

31 lines
1.7 KiB
XML

<?xml version="1.0" encoding="utf-8"?>
<odoo>
<record id="email_template_data_applicant_schedule_interview" model="mail.template">
<field name="name">Recruitment: Schedule interview</field>
<field name="model_id" ref="hr_recruitment.model_hr_applicant"/>
<field name="subject">Can we plan an interview together for your {{ (object.job_id.name + ' ') if object.job_id else '' }}application?</field>
<field name="email_to" eval="False"/>
<field name="partner_to" eval="False"/>
<field name="use_default_to" eval="True"/>
<field name="description">Send this email when you want to schedule an interview with an applicant</field>
<field name="body_html" type="html">
<div style="margin: 0px; padding: 0px;">
<h2>Hello,</h2>
<div style="font-size: 13px;">
Thanks for your application and interest in <t t-out="object.company_id.name or ''">YourCompany</t>.<br/>
<br/>
I would like to organize a phone interview with you, it should last about 30 min.
We'll go through your resume and motivations to join the <t t-out="object.company_id.name or ''">YourCompany</t> team.
You can book a slot in our agenda by cliking on the button below.<br/>
</div>
<br/>
<a t-att-href="object._get_interview_invite_url()"
t-attf-style="background-color: {{user.company_id.email_secondary_color or '#875A7B'}}; text-decoration: none; color: {{user.company_id.email_primary_color or '#FFFFFF'}}; padding: 8px 16px 8px 16px; border-radius: 5px;">Schedule my interview</a><br/>
<br/>
Best regards,
</div>
</field>
<field name="auto_delete" eval="True"/>
</record>
</odoo>