summaryrefslogtreecommitdiff
path: root/addons/stock/data/digest_data.xml
diff options
context:
space:
mode:
authorOdoo's Mergebot <robodoo@odoo.com>2020-08-12 16:12:33 +0200
committerGitHub <noreply@github.com>2020-08-12 16:12:33 +0200
commit9039183fbbd288800a8bf4166780f9f86cc61b52 (patch)
treed37d462f6f45ccee249d3f5e9db7474f77ba1dbd /addons/stock/data/digest_data.xml
parentd9bbf1db4bb88498fe74083a86a0f5a91e863396 (diff)
parent73b5dfd64a8290ef8922cdeff8b1a34a8e9424eb (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/stock/data/digest_data.xml')
-rw-r--r--addons/stock/data/digest_data.xml24
1 files changed, 24 insertions, 0 deletions
diff --git a/addons/stock/data/digest_data.xml b/addons/stock/data/digest_data.xml
new file mode 100644
index 00000000000..6c7c2acafe1
--- /dev/null
+++ b/addons/stock/data/digest_data.xml
@@ -0,0 +1,24 @@
+<?xml version='1.0' encoding='utf-8'?>
+<odoo>
+ <data>
+ <record id="digest_tip_stock_0" model="digest.tip">
+ <field name="name">Tip: Speed up inventory operations with barcodes</field>
+ <field name="sequence">1000</field>
+ <field name="group_id" ref="stock.group_stock_user" />
+ <field name="tip_description" type="html">
+<div>
+ <p class="tip_title">Tip: Speed up inventory operations with barcodes</p>
+ <div class="tip_twocol">
+ <div class="tip_twocol_left" style="float: left; width: 45%;">
+ <img src="/stock/static/src/img/barcode.gif" class="tip_twocol_img" />
+ </div>
+ <div style="float: left; width: 55%;">
+ <p class="tip_content" style="margin: 0;">Enjoy a quick-paced experience with the Odoo barcode app. It is blazing fast and works even without a stable internet connection. It supports all flows: inventory adjustments, batch picking, moving lots or pallets, low inventory checks, etc. Go to the "Apps" menu to activate the barcode interface.</p>
+ </div>
+ </div>
+ <div style="clear: both;" />
+</div>
+ </field>
+ </record>
+ </data>
+</odoo>