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/purchase/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/purchase/data/digest_data.xml')
| -rw-r--r-- | addons/purchase/data/digest_data.xml | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/addons/purchase/data/digest_data.xml b/addons/purchase/data/digest_data.xml new file mode 100644 index 00000000000..20c13ad6720 --- /dev/null +++ b/addons/purchase/data/digest_data.xml @@ -0,0 +1,28 @@ +<?xml version='1.0' encoding='utf-8'?> +<odoo> + <data> + <record id="digest_tip_purchase_0" model="digest.tip"> + <field name="name">Tip: How to keep late receipts under control?</field> + <field name="sequence">100</field> + <field name="group_id" ref="purchase.group_purchase_user" /> + <field name="tip_description" type="html"> +<div> + <p class="tip_title">Tip: How to keep late receipts under control?</p> + <p class="tip_content">When creating a purchase order, have a look at the vendor's <i>On Time Delivery</i> rate: the percentage of products shipped on time. If it is too low, activate the <i>automated reminders</i>. A few days before the due shipment, Odoo will send the vendor an email to ask confirmation of shipment dates and keep you informed in case of any delays. To get the vendor's performance statistics, click on the OTD rate.</p> + <img src="/purchase/static/src/img/OTDPurchase.gif" class="illustration_border" /> +</div> + </field> + </record> + <record id="digest_tip_purchase_1" model="digest.tip"> + <field name="name">Tip: Never miss a purchase order</field> + <field name="sequence">2000</field> + <field name="group_id" ref="purchase.group_purchase_user" /> + <field name="tip_description" type="html"> +<div> + <p class="tip_title">Tip: Never miss a purchase order</p> + <p class="tip_content">When sending a purchase order by email, Odoo asks the vendor to acknowledge the reception of the order. When the vendor acknowledges the order by clicking on a button in the email, the information is added on the purchase order. Use filters to track orders that have not been acknowledged.</p> +</div> + </field> + </record> + </data> +</odoo> |
