Skip to main content
Odoo Community Association

Database cleanup

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

Clean your Odoo database from remnants of modules, models, columns, tables and attachment records left by uninstalled modules (prior to 7.0) or a homebrew database upgrade to a new major version of Odoo.

Caution! This module is potentially harmful and can easily destroy the integrity of your data. Do not use if you are not entirely comfortable with the technical details of the Odoo data model of all the modules that have ever been installed on your database, and do not purge any module, model, column or table if you do not know exactly what you are doing.

Table of contents

Usage

After installation of this module, go to the Settings menu -> Technical -> Database cleanup. This menu is only available to members of the Access Rights group. Go through the modules, models, columns, tables and attachment entries under this menu (in that order) and find out if there is orphaned data in your database. You can either delete entries by line, or sweep all entries in one big step (if you are really confident).

On databases with a very large number of attachments, opening Purge orphaned attachments scans stored files in batches and may take longer than the other cleanup wizards.

Try me on Runbot

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

  • Therp BV

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.

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.

Release files for odoo-addon-database-cleanup 16.0.2.0.0.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Built distribution (wheel)

Table of built distributions (wheels) for odoo-addon-database-cleanup 16.0.2.0.0.2
File Interpreter ABI Platform
odoo_addon_database_cleanup-16.0.2.0.0.2-py3-none-any.whl Python 3 none any Details

Release files / odoo_addon_database_cleanup-16.0.2.0.0.2-py3-none-any.whl

Download URL odoo_addon_database_cleanup-16.0.2.0.0.2-py3-none-any.whl
Size 291.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
ac02eb842e14ffdff1e2c6cb566f62e846137074775cbc19ccd6978c51b7ba48
BLAKE2b-256 checksum
How to use checksums
ce3f747121161141deff5692be6c2a8f80be65c4287fa85a37dd446e4171b7f6
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.12.3

Release history Release notifications | RSS feed

This release

16.0.2.0.0.2 This release

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page