[IMP] hr_expense: 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.

SPECIFICATIONS

“Snap pictures of your receipts with the remote app”

See code for specifications.

LINKS

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

X-original-commit: 48bc75d340fa3a6d3c98bdd4b9f978036109f403
This commit is contained in:
Anousone Phaysomphot
2020-08-12 12:22:59 +00:00
committed by Thibault Delavallée
parent bc1d6159e7
commit 356d915096
3 changed files with 18 additions and 0 deletions
+1
View File
@@ -30,6 +30,7 @@ This module also uses analytic accounting and is compatible with the invoice on
'data': [
'security/hr_expense_security.xml',
'security/ir.model.access.csv',
'data/digest_data.xml',
'data/mail_data.xml',
'data/hr_expense_sequence.xml',
'data/hr_expense_data.xml',
+17
View File
@@ -0,0 +1,17 @@
<?xml version='1.0' encoding='utf-8'?>
<odoo>
<data>
<record id="digest_tip_hr_expense_0" model="digest.tip">
<field name="name">Tip: Snap pictures of your receipts with the remote app</field>
<field name="sequence">1100</field>
<field name="group_id" ref="base.group_user" />
<field name="tip_description" type="html">
<div>
<p class="tip_title">Tip: Snap pictures of your receipts with the remote app</p>
<p class="tip_content">Do not keep your expense tickets in your pockets any longer. Just snap a picture of your receipt and let Odoo digitalizes it for you. The OCR and Artificial Intelligence will fill the data automatically.</p>
<img src="/hr_expense/static/src/img/expense.png" class="illustration_border" />
</div>
</field>
</record>
</data>
</odoo>
Binary file not shown.

After

Width:  |  Height:  |  Size: 26 KiB