Odoo Auto Cleanup Automatically Removes Old Emails SMS Notifications and Followers
Buy Now
The Problem: Odoo Databases Accumulate Clutter Over Time
Every action in Odoo leaves a trace. A sale order gets confirmed and a chatter message is logged. A delivery validates another message. An email is sent to a logged in customer. A follower is added to a record stored. An SMS is sent. Notifications fire for every status change, every reminder, every automated action. For a growing business running Odoo day to day, this is completely normal. But over months and years, the volume of these accumulated records becomes significant. Chatter threads that were useful when they were created become historical noise. Follower lists grow to include staff members who left the company years ago. Notification logs pile up with entries that will never be referenced again. SMS records from campaigns run two years ago are still sitting in the database.
None of this data is harmful on its own but cumulatively it has real consequences: slower database queries, larger backup sizes, cluttered chatter views on records, and a system that gradually feels harder to navigate. Most Odoo users are aware this is happening but have no easy, automated way to clean it up.
Overview
The Auto Cleanup Configuration module adds a scheduled cleanup framework to Odoo that automatically deletes stale records from four data types: email messages (chatter logs), SMS records, notification entries, and follower records. You configure the cleanup rules once, and a built-in scheduled action runs the cleanup automatically at the defined interval.
The module supports two distinct cleanup strategies for each data type, giving you control over exactly how the cleanup is applied:
Based on Number — You specify the maximum number of records to retain. The cleanup keeps the most recent N records and deletes any older ones. For example, if you set the limit to 10 records and 15 currently exist, the oldest 5 are automatically deleted when the scheduler runs.
Based on Date — You specify a cutoff date (or a rolling age, such as records older than 90 days). Any records older than that date are automatically deleted when the scheduler runs.
Each cleanup type can be configured independently per data category so you might keep a higher number of email message records while purging SMS records after 30 days and removing all notifications older than 60 days. The scheduler handles execution automatically; once configured, the cleanup runs without any human action required.
Features
- This module helps to auto cleaning the mails, followers, sms, and notifications.
- User can also remove the records based on numbers or date.
Auto Cleanup Configuration
- User can configure the cleanup settings from the following menu.

Auto Cleanup Configuration
- Based on Numbers.
- There is one scheduler, which runs the cleanup method.
- There are two types of cleanup settings.
- Based on Numbers: If 15 records are exists and user entered the 10 records inside the cleanup configuration then it deletes the older 5 records.
- Based on Date: It deletes the records which are older than entered date.




Based on Date


- It deletes the older records when scheduler will execute.
