Files
odoo_source/addons/website/data/digest_data.xml
T
Fabio Barbero 1356a490e1 [IMP] digest, *: show pictures stored on Odoo
Purpose
=======
Pictures from the digest emails are currently stored on the database
itself, meaning that if the database expires (e.g. after trial expires) all
pictures from previously sent emails won't be visible.
This is an issue since digest tips are meant as a marketing tool to bring
people to Odoo after trying a database.

Digest pictures are now taken from Odoo's server
(https://download.odoocdn.com/digests) so that the pictures will still
be visible after the database has expired.

From this commit onwards, it should not be allowed to change a digest
picture with the same name (to display a gif of a newer version), since
all databases with previous versions would receive pictures of a version
that does not correspond to theirs.

This also means that everyone client's Odoo  server will contain pictures
that are never used. This could be fixed if Odoo stored them somewhere
else and didn't make them dependent from the git repository.

Task-2372195

closes odoo/odoo#87343

X-original-commit: 35157677a2a63a2559a72aff21e62e23a3c671a2
Related: odoo/enterprise#25654
Signed-off-by: Thibault Delavallee (tde) <tde@openerp.com>
2022-03-29 00:08:59 +02:00

66 lines
4.0 KiB
XML

<?xml version='1.0' encoding='utf-8'?>
<odoo>
<data>
<record id="digest_tip_website_0" model="digest.tip">
<field name="name">Tip: Engage with visitors to convert them into leads</field>
<field name="sequence">1500</field>
<field name="group_id" ref="website.group_website_publisher" />
<field name="tip_description" type="html">
<div>
<p class="tip_title">Tip: Engage with visitors to convert them into leads</p>
<p class="tip_content">Monitor your visitors while they are browsing your website with the Odoo Social app. Engage with them in just a click using a live chat request or a push notification. If they have completed one of your forms, you can send them an SMS, or call them right away while they are browsing your website.</p>
<img src="https://download.odoocdn.com/digests/website/static/src/img/website-visitors.gif" class="illustration_border" />
</div>
</field>
</record>
<record id="digest_tip_website_1" model="digest.tip">
<field name="name">Tip: Use royalty-free photos</field>
<field name="sequence">1400</field>
<field name="group_id" ref="website.group_website_publisher" />
<field name="tip_description" type="html">
<div>
<p class="tip_title">Tip: Use royalty-free photos</p>
<p class="tip_content">Search in the media dialogue when you need photos to illustrate your website. Odoo's integration with Unsplash, featuring millions of royalty free and high quality photos, makes it possible for you to get the perfect picture, in just a few clicks.</p>
<img src="https://download.odoocdn.com/digests/website/static/src/img/image-search.gif" class="illustration_border" />
</div>
</field>
</record>
<record id="digest_tip_website_2" model="digest.tip">
<field name="name">Tip: Search Engine Optimization (SEO)</field>
<field name="sequence">1600</field>
<field name="group_id" ref="website.group_website_publisher" />
<field name="tip_description" type="html">
<div>
<p class="tip_title">Tip: Search Engine Optimization (SEO)</p>
<p class="tip_content">To get more visitors, you should target keywords that are often searched in Google. With the built-in SEO tool, once you define a few keywords, Odoo will recommend you the best keywords to target. Then adapt your title and description accordingly to boost your traffic.</p>
<img src="https://download.odoocdn.com/digests/website/static/src/img/SEO-keywords.gif" class="illustration_border" />
</div>
</field>
</record>
<record id="digest_tip_website_3" model="digest.tip">
<field name="name">Tip: Use illustrations to spice up your website</field>
<field name="sequence">300</field>
<field name="group_id" ref="website.group_website_publisher" />
<field name="tip_description" type="html">
<div>
<p class="tip_title">Tip: Use illustrations to spice up your website</p>
<p class="tip_content">Not only can you search for royalty-free illustrations, their colors are also converted so that they always fit your Theme.</p>
<img src="https://download.odoocdn.com/digests/website/static/src/img/digest_tip_website_illustrations.gif" class="illustration_border" />
</div>
</field>
</record>
<record id="digest_tip_website_4" model="digest.tip">
<field name="name">Tip: Add shapes to energize your Website</field>
<field name="sequence">400</field>
<field name="group_id" ref="website.group_website_publisher" />
<field name="tip_description" type="html">
<div>
<p class="tip_title">Tip: Add shapes to energize your Website</p>
<p class="tip_content">More than 90 shapes exist and their colors are picked to match your Theme.</p>
<img src="https://download.odoocdn.com/digests/website/static/src/img/digest_tip_website_shapes.gif" class="illustration_border" />
</div>
</field>
</record>
</data>
</odoo>