summaryrefslogtreecommitdiff
path: root/addons/digest/data/digest_tips_data.xml
diff options
context:
space:
mode:
authorThibault Delavallée <tde@odoo.com>2020-05-28 10:38:32 +0000
committerThibault Delavallée <tde@odoo.com>2020-06-04 15:19:29 +0000
commit14abd4fdf714ce280ab07998073328eb4d76bc09 (patch)
treedc54db620e6ea76ed2ab22d420a308c082fb31cd /addons/digest/data/digest_tips_data.xml
parentadd1a04a9451a684b5503d92a07f0ddf37f6921e (diff)
[IMP] digest: improve digest by adding daily sending and preferences
PURPOSE Make digest email and tips more appealing. The goals of these tips are * to encourage the adoption of other apps (Did you know ?); * to make Odoo look more fun (Fun tips and tricks, young and dynamic style); * to show social proof and increase trust (emphasis on already existing projects / customers to); SPECIFICATIONS Add a daily digest option, allowing to send digests on a daily basis. It will be the default settings to help users coming back to odoo. Add a slowdown heuristics. If not any user targeted by a daily digest logs himself within 3 days, digest is slowed down to a weekly setting to avoid spam. Add a preference section in template, to hold notably links to some configuration steps sent mainly for admin / CEOs. Improve access on models. LINKS Task ID 2197417 PR odoo/odoo#51619
Diffstat (limited to 'addons/digest/data/digest_tips_data.xml')
-rw-r--r--addons/digest/data/digest_tips_data.xml5
1 files changed, 3 insertions, 2 deletions
diff --git a/addons/digest/data/digest_tips_data.xml b/addons/digest/data/digest_tips_data.xml
index 375dd660681..ae7ed018ed8 100644
--- a/addons/digest/data/digest_tips_data.xml
+++ b/addons/digest/data/digest_tips_data.xml
@@ -2,9 +2,10 @@
<odoo>
<data noupdate="1">
<record id="digest_digest_default" model="digest.digest">
- <field name="name">Weekly Stats in Odoo</field>
+ <field name="name">Awesome Stats with Odoo</field>
+ <field name="periodicity">daily</field>
<field name="user_ids" eval="[(4, ref('base.user_admin'))]"/>
- <field name="next_run_date" eval="(DateTime.now() + timedelta(days=7)).strftime('%Y-%m-%d')"/>
+ <field name="next_run_date" eval="(DateTime.now() + timedelta(days=1)).strftime('%Y-%m-%d')"/>
<field name="kpi_res_users_connected">True</field>
<field name="kpi_mail_message_total">True</field>
</record>