Skip to main content
License: AGPL-3

Mail digest notifications

Features

This module allows users/partners to:

  • select “digest” mode in their notification settings

  • with digest mode on select a frequency: “daily” or “weekly”

  • configure specific rules per message subtype (enabled/disabled)

to receive or to not receive any email notification for a given subtype.

The preference tab on user’s form will look like:

./images/preview.png

Behavior

When a partner with digest mode on is notified with a message or an email all the messages are collected inside a mail.digest container.

A daily cron and a weekly cron will take care of creating a single email per each digest, which will be sent as a standard email.

If the message has a specific subtype, all of this will work only if personal settings allow to receive notification for that specific subtype. Specifically:

  • no record for type: message passes

  • record disabled for type: message don’t pass

  • record enabled for type: message pass

NOTE: under the hood the digest notification logic excludes followers to be notified, since you really want to notify only mail.digest’s partner.

NOTE 2: Odoo’s mail machinery has an option force_send to send the email immediately without waiting for the mail queue to be processed. When this option is used the email is sent right away and the message record is deleted right after.

A typical use case is the reset password mail. We assume that if you use that option you really want the email to go out “now” so when force_send is used, digest machinery is completely bypassed.

Global settings

By default digest functionality is enabled for every message type (‘email’, ‘comment’, ‘notification’). You change this with the config param mail_digest.enabled_message_types whereas you can specify message types separated by comma.

Known issues / Roadmap

  • take full control of message and email template.

Right now the notification message and the digest mail itself is wrapped inside Odoo mail template. We should be able to customize this easily.

Bug Tracker

Bugs are tracked on GitHub Issues. In case of trouble, please check there if your issue has already been reported. If you spotted it first, help us smashing it by providing a detailed and welcomed feedback.

Credits

Contributors

Funders

The development of this module has been financially supported by: Fluxdock.io

Maintainer

Odoo Community Association

This module is maintained by the OCA.

OCA, or the Odoo Community Association, is a nonprofit organization whose mission is to support the collaborative development of Odoo features and promote its widespread use.

To contribute to this module, please visit https://odoo-community.org.

Metadata

Release files for odoo10-addon-mail-digest 10.0.1.0.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Built distribution (wheel)

Table of built distributions (wheels) for odoo10-addon-mail-digest 10.0.1.0.2
File Interpreter ABI Platform
odoo10_addon_mail_digest-10.0.1.0.2-py2-none-any.whl Python 2 none any Details

Release files / odoo10_addon_mail_digest-10.0.1.0.2-py2-none-any.whl

Download URL odoo10_addon_mail_digest-10.0.1.0.2-py2-none-any.whl
Size 157.8 kB
Tags Python 2
SHA-256 checksum
How to use checksums
86561a8c83288c0ff86efa2de322ce8b0984e9f09b8bd022f8673fa08d3f2574
BLAKE2b-256 checksum
How to use checksums
aa0ce462c0e24adfbe7d114f90f737ccbd919693d6567235cf1cfe698460868e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page