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>
76 lines
4.1 KiB
XML
76 lines
4.1 KiB
XML
<?xml version='1.0' encoding='utf-8'?>
|
||
<odoo>
|
||
<data noupdate="1">
|
||
<record id="digest_digest_default" model="digest.digest">
|
||
<field name="name">Your Odoo Periodic Digest</field>
|
||
<field name="periodicity">daily</field>
|
||
<field name="user_ids" eval="[(4, ref('base.user_admin'))]"/>
|
||
<field name="next_run_date" eval="DateTime.now().strftime('%Y-%m-%d')"/>
|
||
<field name="kpi_res_users_connected">True</field>
|
||
<field name="kpi_mail_message_total">True</field>
|
||
</record>
|
||
|
||
<record id="digest_tip_digest_0" model="digest.tip">
|
||
<field name="name">Tip: Speed up your workflow with shortcuts</field>
|
||
<field name="sequence">800</field>
|
||
<field name="group_id" ref="base.group_user" />
|
||
<field name="tip_description" type="html">
|
||
<div>
|
||
<p class="tip_title">Tip: Speed up your workflow with shortcuts</p>
|
||
<p class="tip_content">Press ALT in any screen to highlight shortcuts for every button in the screen. It is useful to process multiple documents in batch.</p>
|
||
<img src="https://download.odoocdn.com/digests/digest/static/src/img/alt-shortcuts.gif" class="illustration_border" />
|
||
</div>
|
||
</field>
|
||
</record>
|
||
<record id="digest_tip_digest_1" model="digest.tip">
|
||
<field name="name">Tip: Click on an avatar to chat with a user</field>
|
||
<field name="sequence">2100</field>
|
||
<field name="group_id" ref="base.group_user" />
|
||
<field name="tip_description" type="html">
|
||
<div>
|
||
<p class="tip_title">Tip: Click on an avatar to chat with a user</p>
|
||
<p class="tip_content">Have a question about a document? Click on the responsible user's picture to start a conversation. If his avatar has a green dot, he is online.</p>
|
||
<img src="https://download.odoocdn.com/digests/digest/static/src/img/avatar.gif" class="illustration_border" />
|
||
</div>
|
||
</field>
|
||
</record>
|
||
<record id="digest_tip_digest_2" model="digest.tip">
|
||
<field name="name">Tip: A calculator in Odoo</field>
|
||
<field name="sequence">2300</field>
|
||
<field name="group_id" ref="base.group_user" />
|
||
<field name="tip_description" type="html">
|
||
<div>
|
||
<p class="tip_title">Tip: A calculator in Odoo</p>
|
||
<p class="tip_content">When editing a number, you can use formulae by typing the `=` character. This is useful when computing a margin or a discount on a quotation, sale order or invoice.</p>
|
||
<img src="https://download.odoocdn.com/digests/digest/static/src/img/calculator.gif" class="illustration_border" />
|
||
</div>
|
||
</field>
|
||
</record>
|
||
<record id="digest_tip_digest_3" model="digest.tip">
|
||
<field name="name">Tip: How to ping users in internal notes?</field>
|
||
<field name="sequence">2400</field>
|
||
<field name="group_id" ref="base.group_user" />
|
||
<field name="tip_description" type="html">
|
||
<div>
|
||
<p class="tip_title">Tip: How to ping users in internal notes?</p>
|
||
<p class="tip_content">Type "@" to notify someone in a message, or "#" to link to a channel. Try to notify @OdooBot to test the feature.</p>
|
||
<img src="https://download.odoocdn.com/digests/digest/static/src/img/notifications.gif" class="illustration_border" />
|
||
</div>
|
||
</field>
|
||
</record>
|
||
<record id="digest_tip_digest_4" model="digest.tip">
|
||
<field name="name">Tip: Knowledge is power</field>
|
||
<field name="sequence">2500</field>
|
||
<field name="group_id" ref="base.group_user" />
|
||
<field name="tip_description" type="html">
|
||
<div>
|
||
<p class="tip_title">Tip: Knowledge is power</p>
|
||
<p class="tip_content">When following documents, use the pencil icon to fine-tune the information you want to receive.
|
||
Follow a project / sales team to keep track of this project's tasks / this team's opportunities.</p>
|
||
<img src="https://download.odoocdn.com/digests/digest/static/src/img/following.png" class="illustration_border" />
|
||
</div>
|
||
</field>
|
||
</record>
|
||
</data>
|
||
</odoo>
|