Skip to content
Snippets Groups Projects
Commit a61ac2da authored by Elisabeth Dickinson's avatar Elisabeth Dickinson Committed by Thibault Delavallée
Browse files

[IMP] hr_recruitment, project, sale_expense: make tips bioutifoul


PURPOSE

Make digest email and tips more appealing. The goals of these tips are

  * to encourage the adoption of other apps (Did you know ?);
  * to make Odoo look more fun (Fun tips and tricks, young and dynamic style);
  * to show social proof and increase trust (emphasis on already existing
    projects / customers to);

SPECIFICATIONS

Improve existing tips to be more inlined with new digest styling.

LINKS

Task ID 2197417
PR odoo/odoo#51619

Co-Authored-By: default avatarElisabeth Dickinson <edi@odoo.com>
Co-Authored-By: default avatarThibault Delavallée <tde@odoo.com>
parent 2503a66c
No related branches found
No related tags found
No related merge requests found
......@@ -8,16 +8,15 @@
<data>
<record id="digest_tip_hr_recruitment_0" model="digest.tip">
<field name="name">HR Recruitment: try mailgateway</field>
<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="tip_description" type="html">
<div>
<strong style="font-size: 16px;">Try the mail gateway</strong>
<div style="font-size: 14px;">New applicants can be generated from incoming emails. You just need to set email aliases in configuration of job positions.<br/>
<div style="text-align:center;margin-top:5px;margin-bottom:2px;">
<a href="/web#action=hr_recruitment.action_hr_job_config" style="background-color:#56b3b5;padding:2px;color:#FFFFFF;font-weight:bold;text-decoration:none;">Set Email Aliases</a>
</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>
</div>
</field>
......
......@@ -8,17 +8,16 @@
<data>
<record id="digest_tip_project_0" model="digest.tip">
<field name="name">Project: try mailgateway</field>
<field name="sequence">6</field>
<field name="name">Project: Create tasks from incoming emails</field>
<field name="sequence">5</field>
<field name="group_id" ref="project.group_project_manager"/>
<field name="tip_description" type="html">
<div>
<strong style="font-size: 16px;">Try the mail gateway</strong>
<div style="font-size: 14px;">
New tasks can be generated from incoming emails. You just need to set email aliases on your projects.<br/>
<div style="text-align:center;margin-top:5px;margin-bottom:2px;">
<a href="/web#action=project.open_view_project_all_config" style="background-color:#56b3b5;padding:2px;color:#FFFFFF;font-weight:bold;text-decoration:none;">Set Email Aliases</a>
</div>
<b class="font-16" style="font-size: 20px;line-height: 30px">Create tasks from incoming emails</b>
<p class="font-12" style="color:#888888;font-size: 15px; line-height: 25px; margin: 0">You just need to set email aliases to your projects.</p>
<div style="text-align:center;margin-top:5px;margin-bottom:10px;">
<a href="/web#action=project.open_view_project_all_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;">Try it now
</a>
</div>
</div>
</field>
......
<?xml version='1.0' encoding='utf-8'?>
<odoo>
<record id="digest_tip_sale_expense_0" model="digest.tip">
<field name="name">Expense: try mailgateway</field>
<field name="name">Expense: Submit expenses by email</field>
<field name="sequence">5</field>
<field name="group_id" ref="sales_team.group_sale_salesman_all_leads"/>
<field name="group_id" ref="base.group_user"/>
<field name="tip_description" type="html">
<div>
<strong style="font-size: 16px;">Submit expenses by email</strong>
<div style="font-size: 14px;">Take a snapshot of your expenses and submit your expenses by email.<br/>
<div style="text-align:center;margin-top:5px;margin-bottom:10px;">
<a href="/web#action=hr_expense.action_hr_expense_configuration" style="background-color:#56b3b5;padding:10px;text-decoration:none;color:#FFFFFF;border-radius:5px;font-size:12px;">Activate Expense Emails</a>
</div>
<b class="font-16" style="font-size: 20px;line-height: 30px">Submit expenses by email</b>
<p class="font-12" style="color:#888888;font-size: 15px; line-height: 25px; margin-top: 0">Take a snapshot of your expenses and submit your expenses by email.</p>
<div style="text-align:center;margin-top:5px;margin-bottom:10px;">
<a href="/web#action=hr_expense.action_hr_expense_configuration" 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;">
Activate Expense Emails
</a>
</div>
</div>
</field>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment