Automatically delete old mail messages and attachments
Project description
Odoo create a lot of message and/or mails. With time it can slow the system or take a lot of disk space. The goal of this module is to clean these message once they are obsolete. The same may happen with attachment that we store. You can choose various criterias manage which messages you want to delete automatically.
Table of contents
Configuration
Go to the menu configuration => Technical => Email => Message And Attachment Vacuum Rules
Add the adequates rules for your company. On each rule, you can indicate the models, type and subtypes for which you want to delete the messages, along with a retention time (in days). Or for attachment, you can specify a substring of the name.
Activate the cron AutoVacuum Mails and Messages and/or AutoVacuum Attachments
It is recommanded to run it frequently and when the system is not very loaded. (For instance : once a day, during the night.)
Known issues / Roadmap
You have to be careful with rules regarding attachment deletion because Odoo find the attachment to delete with their name. Odoo will find all attachments containing the substring configured on the rule, so you have to be specific enough on the other criterias (concerned models…) to avoid unwanted attachment deletion.
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
Florian da Costa <florian.dacosta@akretion.com>
Enric Tobella <etobella@creublanca.es>
Helly kapatel <helly.kapatel@initos.com>
Akim Juillerat <akim.juillerat@camptocamp.com>
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.
Current maintainer:
This module is part of the OCA/server-tools project on GitHub.
You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
Built Distribution
File details
Details for the file odoo_addon_autovacuum_message_attachment-16.0.1.0.1.8-py3-none-any.whl
.
File metadata
- Download URL: odoo_addon_autovacuum_message_attachment-16.0.1.0.1.8-py3-none-any.whl
- Upload date:
- Size: 68.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | fbe122363422fe513494312f243d6869d7f7361e8227430aa4007f6c14af95ba |
|
MD5 | c9e862d6b67ec5d5e37f8a67bf28eaab |
|
BLAKE2b-256 | 27912edb0a0d91b34e412063e46e390134d82fa225729e5748b9ecfe456439c4 |