-
- Downloads
[MERGE][IMP] digest, various: improve digest content and tips
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: DIGEST TEMPLATE
Improve template according to FP specifications, aka
Header
Up to 2 tips
KPIs
Want to customize?
Mobile Tip
Footer
SPECIFICATIONS: QWEB TEMPLATE
Digest now uses qweb views instead of a standard mail.template record for
rendering as
* template is very custom;
* probability of breaking it while edition the mail template is high;
it is easier to maintain and extend in qweb;
* only body was really used, other mail-related fields were not used;
We therefore remove the mail template data and the field used for it on
the digest model. Template is now forced to a Qweb view.
We can also remove the template_id field. Indeed we think that having
different templates for digests is a really advanced use case we do not
want to support.
SPECIFICATIONS: DELAY BEFORE SENDING
In this commit we introduce a way to set a delay before sending a tip.
Using a new field, a tip can be send a few days after its module installation.
This require to store the source module on the tip itself. When installed
from data it will be automatically filled using its xml_id if not set
SPECIFICATIONS: TIPS
Improve tips content and display according to FP specifications.
LINKS
Task ID 2197417
Community PR odoo/odoo#51619
Enterprise PR odoo/enterprise#10697
Upgrade PR odoo/upgrade#1256
Signed-off-by:
Thibault Delavallee (tde) <tde@openerp.com>
No related branches found
No related tags found
Showing
- addons/account/models/digest.py 2 additions, 2 deletionsaddons/account/models/digest.py
- addons/crm/data/digest_data.xml 36 additions, 7 deletionsaddons/crm/data/digest_data.xml
- addons/crm/models/digest.py 2 additions, 2 deletionsaddons/crm/models/digest.py
- addons/crm/static/src/img/tips-crm-autocomplete.jpg 0 additions, 0 deletionsaddons/crm/static/src/img/tips-crm-autocomplete.jpg
- addons/crm/static/src/img/tips-crm-lead-mining.jpg 0 additions, 0 deletionsaddons/crm/static/src/img/tips-crm-lead-mining.jpg
- addons/crm/static/src/img/tips-crm-pipeline.jpg 0 additions, 0 deletionsaddons/crm/static/src/img/tips-crm-pipeline.jpg
- addons/digest/__manifest__.py 2 additions, 2 deletionsaddons/digest/__manifest__.py
- addons/digest/controllers/portal.py 23 additions, 2 deletionsaddons/digest/controllers/portal.py
- addons/digest/data/digest_data.xml 243 additions, 57 deletionsaddons/digest/data/digest_data.xml
- addons/digest/data/digest_template_data.xml 0 additions, 164 deletionsaddons/digest/data/digest_template_data.xml
- addons/digest/data/digest_tips_data.xml 109 additions, 0 deletionsaddons/digest/data/digest_tips_data.xml
- addons/digest/models/digest.py 200 additions, 67 deletionsaddons/digest/models/digest.py
- addons/digest/security/ir.model.access.csv 1 addition, 1 deletionaddons/digest/security/ir.model.access.csv
- addons/digest/static/src/img/activity.png 0 additions, 0 deletionsaddons/digest/static/src/img/activity.png
- addons/digest/static/src/img/notification.png 0 additions, 0 deletionsaddons/digest/static/src/img/notification.png
- addons/digest/static/src/img/tips-digest-browser-notifications.jpg 0 additions, 0 deletions...gest/static/src/img/tips-digest-browser-notifications.jpg
- addons/digest/static/src/img/tips-digest-invite-team.jpg 0 additions, 0 deletionsaddons/digest/static/src/img/tips-digest-invite-team.jpg
- addons/digest/static/src/img/tips-mail-activities.jpg 0 additions, 0 deletionsaddons/digest/static/src/img/tips-mail-activities.jpg
- addons/digest/static/src/img/tips-mail-following.jpg 0 additions, 0 deletionsaddons/digest/static/src/img/tips-mail-following.jpg
- addons/digest/static/src/img/tips-mail-notifications.jpg 0 additions, 0 deletionsaddons/digest/static/src/img/tips-mail-notifications.jpg
Loading
Please register or sign in to comment