Files
odoo_source/addons/sale_management/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

34 lines
1.9 KiB
XML

<?xml version='1.0' encoding='utf-8'?>
<odoo>
<data noupdate="1">
<record id="digest.digest_digest_default" model="digest.digest">
<field name="kpi_all_sale_total">True</field>
</record>
<record id="digest_tip_sale1_management_0" model="digest.tip">
<field name="name">Tip: Odoo supports configurable products</field>
<field name="sequence">2200</field>
<field name="group_id" ref="sales_team.group_sale_manager" />
<field name="tip_description" type="html">
<div>
<p class="tip_title">Tip: Odoo supports configurable products</p>
<p class="tip_content">Struggling with a complex product catalog? Try out the Product Configurator to help sales configure a product with different options: colors, size, capacity, etc. Make sale orders encoding easier and error-proof.</p>
<img src="https://download.odoocdn.com/digests/sale_management/static/src/img/Sales-configure-products.gif" class="illustration_border" />
</div>
</field>
</record>
<record id="digest_tip_sale_management_1" model="digest.tip">
<field name="name">Tip: Sell or buy products in bulk with matrixes</field>
<field name="sequence">2700</field>
<field name="group_id" ref="sales_team.group_sale_manager" />
<field name="tip_description" type="html">
<div>
<p class="tip_title">Tip: Sell or buy products in bulk with matrixes</p>
<p class="tip_content">Selling the same product in different sizes or colors? Try the product grid and populate your orders with multiple quantities of each variant. This feature also exists in the Purchase application.</p>
<img src="https://download.odoocdn.com/digests/sale_management/static/src/img/t-shirts.png" class="illustration_border" />
</div>
</field>
</record>
</data>
</odoo>