odoo18/addons_extensions/offer_letters/data/mail_template.xml

65 lines
3.8 KiB
XML

<?xml version="1.0" encoding="UTF-8" ?>
<odoo>
<data>
<record id="applicant_offer_email_template" model="mail.template">
<field name="name">Applicant Offer Email Template</field>
<field name="model_id" ref="offer_letters.model_offer_letter"/>
<field name="email_from">{{ user.email_formatted }}</field>
<field name="email_to">{{ object.candidate_id.email_from or '' }}</field>
<field name="subject">Offer Letter - {{ object.position or object.candidate_id.job_id.name or '' }}</field>
<field name="description">
Send applicant offer mail with offer letter attachment.
</field>
<field name="body_html" type="html">
<div style="margin: 0; padding: 0; font-size: 13px; line-height: 1.7;">
<p>Dear <t t-esc="object.candidate_id.partner_name or ''"/>,</p>
<p>
With reference to the interview and subsequent discussions you had with us, we are pleased to select
you for the position of "<t t-esc="object.position or ''"/>" in our organization with the following
terms and conditions.
</p>
<p>
You will be paid a compensation of
<strong>Rs <t t-esc="'{:,.0f}'.format(object.salary or 0.0)"/> LPA</strong>
(<t t-esc="env.company.currency_id.amount_to_text(object.salary or 0.0)"/>) on a cost-to-company basis.
</p>
<p>
We would like you to join us at the earliest but not later than
<strong><t t-esc="object.joining_date or ''"/></strong>.
</p>
<p>
Enclosed is the Offer Letter cum Appointment with the break-up of salary for your reference.
The signed copy of the same will be issued to you on the date of joining.
</p>
<p>Your salary structure may be revised as per statutory compliances, keeping the CTC intact.</p>
<p>
You will be required to sign a Code of Conduct, Non-Disclosure Agreement, and Anti-Corruption Policy
at the time of your joining. The details are mentioned in the enclosed letter.
</p>
<p>You would need to travel as per business requirement.</p>
<p>
Kindly acknowledge this email as a token of acceptance of this offer within 2 days of the email dated,
failing which the offer stands withdrawn. This offer is valid subject to the current employer's
reference check.
</p>
<p style="margin-top: 20px;">
<a t-att-href="ctx.get('offer_accept_url')" target="_blank"
style="background-color: #198754; color: #ffffff; padding: 10px 18px; text-decoration: none; border-radius: 4px; display: inline-block; margin-right: 10px;">
Accept Offer
</a>
<a t-att-href="ctx.get('offer_reject_url')" target="_blank"
style="background-color: #dc3545; color: #ffffff; padding: 10px 18px; text-decoration: none; border-radius: 4px; display: inline-block;">
Reject Offer
</a>
</p>
<p>
Regards,<br/>
HR Team<br/>
9703546916
</p>
</div>
</field>
</record>
</data>
</odoo>