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/account/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/account/data/digest_data.xml')
| -rw-r--r-- | addons/account/data/digest_data.xml | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/addons/account/data/digest_data.xml b/addons/account/data/digest_data.xml index 81a2b0155c5..c7f9a47744b 100644 --- a/addons/account/data/digest_data.xml +++ b/addons/account/data/digest_data.xml @@ -5,4 +5,19 @@ <field name="kpi_account_total_revenue">True</field> </record> </data> + + <data> + <record id="digest_tip_account_0" model="digest.tip"> + <field name="name">Tip: No need to print, put in an envelop and post your invoices</field> + <field name="sequence">700</field> + <field name="group_id" ref="account.group_account_invoice" /> + <field name="tip_description" type="html"> +<div> + <p class="tip_title">Tip: No need to print, put in an envelop and post your invoices</p> + <p class="tip_content">Use the “<i>Send by Post</i>” option to post invoices automatically. For the cost of a local stamp, we do all the manual work: your invoice will be printed in the right country, put in an envelop and sent by snail mail. Use this feature from the list view to post hundreds of invoices in bulk.</p> + <img src="/account/static/src/img/invoice-stamps.png" class="illustration_border" /> +</div> + </field> + </record> + </data> </odoo> |
