| Availability |
Odoo Online
Odoo.sh
On Premise
|
| Community Apps Dependencies | Show |
| Lines of code | 261 |
| Technical Name |
codeerts_auto_archive |
| License | OPL-1 |
| Website | https://codeerts.odoo.com |
| Versions | 17.0 18.0 19.0 |
| Availability |
Odoo Online
Odoo.sh
On Premise
|
| Community Apps Dependencies | Show |
| Lines of code | 261 |
| Technical Name |
codeerts_auto_archive |
| License | OPL-1 |
| Website | https://codeerts.odoo.com |
| Versions | 17.0 18.0 19.0 |
Auto Archive
Automatically archive old records on any model
after X days, with an optional filter, on a daily schedule.
Set a date field, a number of days and a filter on the standard Models screen. A daily scheduled action does the rest, and a preview shows what will be archived first.
|
Daily
Scheduled Run
|
X Days
You Choose
|
Filter
Per Model
|
Preview
Before It Runs
|
v18
Compatible
|
What this module does
Auto Archive adds automatic, scheduled archiving on top of the free Archive Anything module. On the standard Models screen you pick a date field, a number of days and an optional record filter, and a daily scheduled action archives the records that match. No one has to archive by hand.
A Preview button shows exactly how many records currently match before anything runs, and each model keeps the time and count of its last run. Only active records that pass your filter and are older than the number of days you set are archived, so your lists, searches and reports stay focused on what matters.
|
⏳
Archive after X days
Choose the date field that defines age and how many days is too old. Records past that point are archived automatically. |
🔎
Filter what gets archived
Use Odoo's domain editor to limit a rule, for example only cancelled orders, so only the records you mean are ever archived. |
👁
Preview before it runs
One click shows how many records currently match, so you can confirm a rule with confidence before the schedule acts. |
|
⏰ Daily scheduled action
A single scheduled action processes every model that has Auto Archive enabled. Adjust the schedule any time under Settings, Technical, Scheduled Actions. |
📅 Choose the date field
Order Date, Invoice Date, Created On or any stored date on the model decides how old a record is. |
|
🧰 Configured where models live
Settings sit on the standard Models screen, next to the Archive Anything controls. No separate app and nothing extra on the home screen. |
📊 Last run and count
Each model records when Auto Archive last ran and how many records it archived, so the automation is never a black box. |
|
✅ Only active records
Already-archived records are skipped, so a run only ever touches active records that match your rule. |
🌐 Community and Enterprise
Built on core Odoo and the free Archive Anything module, so it runs on both editions with no extra dependencies. |
How to set it up
|
1
|
Make the model archivable
Use the free Archive Anything module to enable archiving on the model first. |
|
2
|
Turn on Auto Archive
On the same Models screen, tick Auto Archive to reveal the settings. |
|
3
|
Set date field, days and filter
Pick the date field, set Older Than (Days), and optionally add a filter such as only cancelled orders. |
|
4
|
Preview the result
Click Preview Auto Archive to see how many records currently match before the schedule acts. |
|
5
|
Let the schedule run
The daily scheduled action archives matching records and records the last run time and count on the model. |
Screenshots
SETTINGS: DATE FIELD, DAYS AND A FILTER ON THE MODELS SCREEN
PREVIEW: SEE HOW MANY RECORDS WOULD BE ARCHIVED BEFORE IT RUNS
AUTOMATION: THE DAILY SCHEDULED ACTION THAT DOES THE WORK
RESULT: LAST RUN TIME AND ARCHIVED COUNT RECORDED ON THE MODEL
Technical information
|
Version
19.0
|
License
OPL-1
|
Editions
Community & Enterprise
|
Dependencies
Archive Anything (free)
|
Technical name: codeerts_auto_archive · Depends on: codeerts_archive_anything (free)
Frequently asked questions
Make the model archivable with Archive Anything, then on the same Models screen turn on Auto Archive, pick a date field and a number of days, and a daily scheduled action archives matching records automatically.
Yes. Each model has a record filter built with Odoo's standard domain editor, so you can limit auto archiving to, for example, only cancelled sale orders or only a given status.
You choose the date field per model, such as Order Date, Invoice Date or Created On. Records whose chosen date is older than the number of days you set are archived.
Yes. A Preview Auto Archive button shows how many records currently match your settings, so you can confirm the rule before the scheduled action runs.
A daily scheduled action processes every model that has Auto Archive enabled. You can adjust the schedule from Settings, Technical, Scheduled Actions if needed.
Yes, it runs on both Community and Enterprise. It depends only on the free Archive Anything module and core Odoo. Each Odoo Apps Store listing shows the exact version it supports.
The team behind this module
About CODEerts
Full-Service Odoo ERP Agency · Solutions That Scale
Every module in our store is built from real client work, tested in production and maintained long-term by a team of Odoo certified consultants. When you need more than an app, we deliver the full solution.
|
🏗️ Implementation
Full Odoo roll-outs from requirements to go-live, across any industry and company size. |
🧩 Custom Development
Bespoke modules, OWL components and business logic built precisely to your workflow. |
🔄 Migrations
Zero-data-loss upgrades from older Odoo versions with full custom module porting. |
|
🔌 Integrations
Payment gateways, shipping carriers, biometric devices, eCommerce and third-party APIs. |
🔍 Odoo Audits
Performance, security and code-quality reviews that surface risks before they become problems. |
🧑💻 Support & Training
Ongoing helpdesk, user training and monthly retainers so your team stays productive. |
|
Odoo
Certified
|
6+
Years
|
50+
Projects
|
10+
Industries
|
Live
Support
|
More from CODEerts
Other apps we build to make Odoo do more. Tap any card to open it on the Odoo Apps Store.
FREE Archive Anything | FREE Transaction Flow Visualizer | FREE Smart Mail Rebrand | FREE Duplicate Record Detector |
AI Dashboard Builder | Advance Payment Pro | Dual Book & Tax Depreciation | Smart Duplicate Detector |
See every CODEerts app on the Odoo Apps Store.
Odoo Proprietary License v1.0 This software and associated files (the "Software") may only be used (executed, modified, executed after modifications) if you have purchased a valid license from the authors, typically via Odoo Apps, or if you have received a written agreement from the authors of the Software (see the COPYRIGHT file). You may develop Odoo modules that use the Software as a library (typically by depending on it, importing it and using its resources), but without copying any source code or material from the Software. You may distribute those modules under the license of your choice, provided that this license is compatible with the terms of the Odoo Proprietary License (For example: LGPL, MIT, or proprietary licenses similar to this one). It is forbidden to publish, distribute, sublicense, or sell copies of the Software or modified copies of the Software. The above copyright notice and this permission notice must be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
Please log in to comment on this module