Skip to main content

Automatically delete old mail messages and attachments

Project description

Beta License: LGPL-3 OCA/server-tools Translate me on Weblate Try me on Runboat

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

Authors

  • Akretion

Contributors

Maintainers

This module is maintained by the OCA.

Odoo Community Association

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:

florian-dacosta

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

File details

Details for the file odoo_addon_autovacuum_message_attachment-16.0.1.0.1.13-py3-none-any.whl.

File metadata

File hashes

Hashes for odoo_addon_autovacuum_message_attachment-16.0.1.0.1.13-py3-none-any.whl
Algorithm Hash digest
SHA256 975b9d2a9c64026f52921958d042ad7a632c5bbf92ea5dae561b26f622744d76
MD5 7945f4ad175ac13644036b794330d6a8
BLAKE2b-256 5eaa068da33b928b4e85ff73743b28ef2c7be111283a67eab4e5946f9bbb3c44

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page