database_cleanup
This module provides tools to clean up and purge obsolete data from the Odoo database.
Key Features
- modules: Purge modules that are no longer available on the filesystem.
- models: Purge models that cannot be instantiated.
- columns: Purge database columns that are not defined in the model fields.
- tables: Purge database tables and views that are not associated with any model.
- fields: Purge fields that are defined in the registry but not in the model.
- data: Purge data entries that refer to non-existing models or records.
- menus: Purge menu entries that point to actions with non-existing models.
- indexes: Create missing database indexes for fields marked as indexed.