Skip to Content
Odoo Menu
  • Sign in
  • Try it free
  • Apps
    Finance
    • Accounting
    • Invoicing
    • Expenses
    • Spreadsheet (BI)
    • Documents
    • Sign
    Sales
    • CRM
    • Sales
    • POS Shop
    • POS Restaurant
    • Subscriptions
    • Rental
    Websites
    • Website Builder
    • eCommerce
    • Blog
    • Forum
    • Live Chat
    • eLearning
    Supply Chain
    • Inventory
    • Manufacturing
    • PLM
    • Purchase
    • Maintenance
    • Quality
    Human Resources
    • Employees
    • Recruitment
    • Time Off
    • Appraisals
    • Referrals
    • Fleet
    Marketing
    • Social Marketing
    • Email Marketing
    • SMS Marketing
    • Events
    • Marketing Automation
    • Surveys
    Services
    • Project
    • Timesheets
    • Field Service
    • Helpdesk
    • Planning
    • Appointments
    Productivity
    • Discuss
    • Approvals
    • IoT
    • VoIP
    • Knowledge
    • WhatsApp
    Third party apps Odoo Studio Odoo Cloud Platform
  • Industries
    Retail
    • Book Store
    • Clothing Store
    • Furniture Store
    • Grocery Store
    • Hardware Store
    • Toy Store
    Food & Hospitality
    • Bar and Pub
    • Restaurant
    • Fast Food
    • Guest House
    • Beverage Distributor
    • Hotel
    Real Estate
    • Real Estate Agency
    • Architecture Firm
    • Construction
    • Property Management
    • Gardening
    • Property Owner Association
    Consulting
    • Accounting Firm
    • Odoo Partner
    • Marketing Agency
    • Law firm
    • Talent Acquisition
    • Audit & Certification
    Manufacturing
    • Textile
    • Metal
    • Furnitures
    • Food
    • Brewery
    • Corporate Gifts
    Health & Fitness
    • Sports Club
    • Eyewear Store
    • Fitness Center
    • Wellness Practitioners
    • Pharmacy
    • Hair Salon
    Trades
    • Handyman
    • IT Hardware & Support
    • Solar Energy Systems
    • Shoe Maker
    • Cleaning Services
    • HVAC Services
    Others
    • Nonprofit Organization
    • Environmental Agency
    • Billboard Rental
    • Photography
    • Bike Leasing
    • Software Reseller
    Browse all Industries
  • Community
    Learn
    • Tutorials
    • Documentation
    • Certifications
    • Training
    • Blog
    • Podcast
    Empower Education
    • Education Program
    • Scale Up! Business Game
    • Visit Odoo
    Get the Software
    • Download
    • Compare Editions
    • Releases
    Collaborate
    • Github
    • Forum
    • Events
    • Translations
    • Become a Partner
    • Services for Partners
    • Register your Accounting Firm
    Get Services
    • Find a Partner
    • Find an Accountant
      • Get a Tailored Demo
    • Implementation Services
    • Customer References
    • Support
    • Upgrades
    Github Youtube Twitter Linkedin Instagram Facebook Spotify
    +32 2 290 34 90
    • Get a Tailored Demo
  • Pricing
  • Help
  1. APPS
  2. Extra Tools
  3. Auto Archive v 19.0
  4. Sales Conditions FAQ

Auto Archive

by CODEerts https://codeerts.odoo.com
Odoo

$ 14.99

v 19.0 Third Party
Apps purchases are linked to your Odoo account, please sign in or sign up first.
Availability
Odoo Online
Odoo.sh
On Premise
Community Apps Dependencies Show
Archive Anything
Lines of code 261
Technical Name codeerts_auto_archive
LicenseOPL-1
Websitehttps://codeerts.odoo.com
Versions 18.0 19.0
You bought this module and need support? Click here!
Availability
Odoo Online
Odoo.sh
On Premise
Community Apps Dependencies Show
Archive Anything
Lines of code 261
Technical Name codeerts_auto_archive
LicenseOPL-1
Websitehttps://codeerts.odoo.com
Versions 18.0 19.0
  • Description
  • License
CODEerts  ·  Odoo 19

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.

After X Days Optional Filter Daily Schedule Preview Before Run Any Model
Daily
Scheduled Run
X Days
You Choose
Filter
Per Model
Preview
Before It Runs
v19
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

Auto Archive settings on the Models form

PREVIEW: SEE HOW MANY RECORDS WOULD BE ARCHIVED BEFORE IT RUNS

Auto Archive preview notification

AUTOMATION: THE DAILY SCHEDULED ACTION THAT DOES THE WORK

Auto Archive scheduled action

RESULT: LAST RUN TIME AND ARCHIVED COUNT RECORDED ON THE MODEL

Auto Archive last run and count

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

How do I automatically archive old records in Odoo?

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.

Can I auto archive only certain records, like cancelled orders?

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.

Which date is used to decide a record is old?

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.

Can I see what will be archived before it runs?

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.

How often does auto archiving run?

A daily scheduled action processes every model that has Auto Archive enabled. You can adjust the schedule from Settings, Technical, Scheduled Actions if needed.

Does it work in Odoo Community and Enterprise?

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
CODEERTS APPS

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.

Need Help?

Questions, customization requests, or bug reports. We respond fast.

Email Us
Support

CODEerts  ·  Response within 1-2 business days

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

  • The author can leave a single reply to each comment.
  • This section is meant to ask simple questions or leave a rating. Every report of a problem experienced while using the module should be addressed to the author directly (refer to the following point).
  • If you want to start a discussion with the author or have a question related to your purchase, please use the support page.
Community
  • Tutorials
  • Documentation
  • Forum
Open Source
  • Download
  • Github
  • Runbot
  • Translations
Services
  • Odoo.sh Hosting
  • Support
  • Upgrade
  • Custom Developments
  • Education
  • Find an Accountant
  • Find a Partner
  • Become a Partner
About us
  • Our company
  • Brand Assets
  • Contact us
  • Jobs
  • Events
  • Podcast
  • Blog
  • Customers
  • Legal • Privacy
  • Security

Odoo is a suite of open source business apps that cover all your company needs: CRM, eCommerce, accounting, inventory, point of sale, project management, etc.

Odoo's unique value proposition is to be at the same time very easy to use and fully integrated.

Website made with