[IMP] hr_recruitment: add new digest tips

PURPOSE

Review the tips and digest layout design to make sure they have a WOW effect
and increase trial conversion/retention.

SPECIFICATIO

“Let candidates apply by email”

See code for specifications.

LINKS

Task ID-2274264
COM PR: odoo/odoo#53580
ENT PR: odoo/enterprise#1139

X-original-commit: 5c6c52a8773b1994c9616900d9736cea500776fd
This commit is contained in:
Anousone Phaysomphot
2020-08-12 12:23:00 +00:00
committed by Thibault Delavallée
parent 356d915096
commit 91a3760dc7
+11 -8
View File
@@ -8,16 +8,19 @@
<data>
<record id="digest_tip_hr_recruitment_0" model="digest.tip">
<field name="name">Recruitment: Create new applicants from incoming emails</field>
<field name="sequence">4</field>
<field name="group_id" ref="hr_recruitment.group_hr_recruitment_user"/>
<field name="name">Tip: Let candidates apply by email</field>
<field name="sequence">1300</field>
<field name="group_id" ref="hr_recruitment.group_hr_recruitment_manager" />
<field name="tip_description" type="html">
<div>
<b class="font-16" style="font-size: 20px;line-height: 30px">Create new applicants from incoming emails</b>
<p class="font-12" style="color:#888888;font-size: 15px; line-height: 25px; margin-top: 0">You just need to set email aliases in your job positions' settings.</p>
<div style="text-align:center;margin-top:5px;margin-bottom:10px;">
<a href="/web#action=hr_recruitment.action_hr_job_config" target="_blank" style="display:inline-block;background-color:#875a7b;line-height:40px;text-decoration: none;color: #ffffff;border-radius: 3px;font-size:13px;font-weight:bold;text-align:center; padding:0 10px;">Set Email Aliases</a>
</div>
<p class="tip_title">Tip: Let candidates apply by email</p>
<p class="tip_content">
By setting an alias to a job position, emails sent to this address create applications automatically. You can even use multiple trackers to get statistics according to the source of the application: LinkedIn, Monster, Indeed, etc.
% set record = object.env['hr.job'].search([('alias_name', '!=', False)], limit=1)
% if record and record.alias_domain
<a href="mailto:${record.alias_id.display_name}" target="_blank" style="color: #875a7b; text-decoration: none;">Try sending an email</a>
% endif
</p>
</div>
</field>
</record>