Email tracking
This module shows email notification tracking status for any messages in mail thread (chatter). Each notified partner will have an intuitive icon just right to his name.
Table of contents
Installation
If you’re using a multi-database installation (with or without dbfilter option) where /web/databse/selector returns a list of more than one database, then you need to add mail_tracking addon to wide load addons list (by default, only web addon), setting --load option. For example, --load=web,mail,mail_tracking
The first update of the module after this index was added creates a partial index on mail_message (mail_message_mail_tracking_needs_action_index). Later updates do not build it again: Odoo keeps it while its definition does not change.
On a database with a very large mail_message table that first build blocks writes to the table while it runs (13 minutes on 122 million rows). To avoid the lock, create the index beforehand exactly as the ORM would, with the comment it stores on it; Odoo compares that comment with the index definition and keeps the index when they match:
CREATE INDEX CONCURRENTLY mail_message_mail_tracking_needs_action_index
ON mail_message (id) WHERE mail_tracking_needs_action IS TRUE;
COMMENT ON INDEX mail_message_mail_tracking_needs_action_index
IS 'INDEX (id) WHERE mail_tracking_needs_action IS TRUE';
Configuration
As there can be scenarios where sending a tracking img in the email body is not desired, there is a global system parameter “mail_tracking.tracking_img_disabled” that can be set to True to remove the tracking img from all outgoing emails. Note that the Opened status will not be available in this case.
Usage
When user sends a message in mail_thread (chatter), for instance in partner form, then an email tracking is created for each email notification. Then a status icon will appear just right to name of notified partner.
These are all available status icons:
Unknown: No email tracking info available. Maybe this
notified partner has ‘Receive Inbox Notifications by Email’ == ‘Never’
Waiting: Waiting to be sent
Error: Error while sending
Sent: Sent to SMTP server configured
Delivered: Delivered to final MX server
Opened: Opened by partner
Cc: It’s a Carbon-Copy recipient. Can’t know the status so is
‘Unknown’
No Email: The partner doesn’t have a defined email
No Partner: The recipient doesn’t have a defined partner
If you want to see all tracking emails and events you can go to
Settings > Technical > Email > Tracking emails
Settings > Technical > Email > Tracking events
When the message generates an ‘error’ status, it will apear on discuss ‘Failed’ channel. Any view with chatter can show the failed messages too.
Discuss
Chatter
You can use “Failed sent messages” filter present in all views to show records with messages in failed status and that needs an user action.
Filter
Known issues / Roadmap
Integrate with the core mail.notification model as it overlaps with what the mail.tracking model does. We could add the existing features on top of that model and save lots of code lines.
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 to smash it by providing a detailed and welcomed feedback.
Do not contact contributors directly about support or help with technical issues.
Credits
Contributors
Other credits
The migration of this module from 17.0 to 18.0 was financially supported by Camptocamp.
Maintainers
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.
This module is part of the OCA/mail project on GitHub.
You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.
Metadata
Release files for odoo-addon-mail-tracking 19.0.1.0.9
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| odoo_addon_mail_tracking-19.0.1.0.9-py3-none-any.whl | Python 3 | none | any | Details for odoo_addon_mail_tracking-19.0.1.0.9-py3-none-any.whl |
Release files / odoo_addon_mail_tracking-19.0.1.0.9-py3-none-any.whl
| Download URL | odoo_addon_mail_tracking-19.0.1.0.9-py3-none-any.whl |
|---|---|
| Size | 554.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
73d5d872dc2ad87168bf83a49c19947f6302b6b03d0cb3183f7e5f3906039ab7
|
|
BLAKE2b-256 checksum How to use checksums |
cf5da6143f2758bc4d4bbb5f7921113928d3430f67938c13d6872d92300a9ad8
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.14.4
|
Security for odoo-addon-mail-tracking 19.0.1.0.9
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.