diff options
| author | Odoo's Mergebot <robodoo@odoo.com> | 2020-08-12 16:12:33 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-08-12 16:12:33 +0200 |
| commit | 9039183fbbd288800a8bf4166780f9f86cc61b52 (patch) | |
| tree | d37d462f6f45ccee249d3f5e9db7474f77ba1dbd /addons/hr_expense/data/digest_data.xml | |
| parent | d9bbf1db4bb88498fe74083a86a0f5a91e863396 (diff) | |
| parent | 73b5dfd64a8290ef8922cdeff8b1a34a8e9424eb (diff) | |
[FW][MERGE] digest, various: add or improve digest tips and digest layout
PURPOSE
Review the tips and digest layout design to make sure they have a WOW effect
and increase trial conversion/retention.
SPECIFICATIONS: LAYOUT
Besides changing the tips, a cleaning of digest layout was performed. Emails
were reported to look not neat in Outlook and somewhat random in mail.com or
gmail.com.
Most recent HTML CSS cannot be used to make HTML emails because each email
provider renders emails its own way. This means a given email may renders
differently in gmail.com and outlook.
The layout of the email was composed of several levels of embedded tables
which means huge maintenance effort. So it was totally rewritten with divs
and CSS, but some properties are not taken into account.
A lot of page component improvements were done. It consisted in replacing most
of the style attribute in tags with CSS classes and ids. This step is
especially useful for tip formatting because before, if a style modification
was needed, it had to be performed on each tip individually.
SPECIFICATIONS: TIPS
Add / Improve tips in cmr, purchase, hr_recruitment, website, hr_expense, project,
digest, sale_management, im_livechat, stock, mrp, account.
LINKS
COM PR: odoo/odoo#53580
ENT PR: odoo/enterprise#11394
closes odoo/odoo#55807
Forward-port-of: odoo/odoo#53580
Related: odoo/enterprise#12372
Signed-off-by: Thibault Delavallee (tde) <tde@openerp.com>
Diffstat (limited to 'addons/hr_expense/data/digest_data.xml')
| -rw-r--r-- | addons/hr_expense/data/digest_data.xml | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/addons/hr_expense/data/digest_data.xml b/addons/hr_expense/data/digest_data.xml new file mode 100644 index 00000000000..bd61e8f685c --- /dev/null +++ b/addons/hr_expense/data/digest_data.xml @@ -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> |
