Openupgrade Framework
openupgrade_framework · OCA/OpenUpgrade
-
Security25/25No findings
-
Activity20/25Last human commit 10 months ago
-
Required by5/250 modules depend on it
-
Maturity25/25In 6 Odoo series since 14.0
Heuristic over the facts below, not an audit · How it's computed
Migration considerations
- Raw `cr.execute()` INSERT/UPDATE/DELETE bypasses the ORM (no compute/constrains/tracking/mail): `UPDATE ir_model_fields SET translate=NULL where translate::varchar='false'` - re-check the table/column names still match after upgrading. (2 occurrences in this file) migration-raw-sql-write · source
Migration review checklist, not a compatibility verdict. "Migrating to X.0" applies once you upgrade to that version; "Since X.0" means this version already ignores or rejects that code. Methodology
Description
This module is a technical module that contains a number of monkeypatches to improve the behaviour of Odoo when migrating your database using the OpenUpgrade migration scripts:
- Prevent dropping columns or tables in the database when fields or models are obsoleted in the Odoo data model of the target release. After the migration, you can review and delete unused database tables and columns using database_cleanup. See https://odoo-community.org/shop/product/database-cleanup-918
- When data records are deleted during the migration (such as views or other system records), this is done in a secure mode. If the deletion fails because of some unforeseen dependency, the deletion will be cancelled and a message is logged, after which the migration continues.
- Prevent a number of log messages that do not apply when using OpenUpgrade.
- Suppress log messages about failed view validation, which are to be expected during a migration.
- Run migration scripts for modules that are installed as new dependencies of upgraded modules (when there are such scripts for those particular modules)
- Production databases generated with demo data, will be transformed to non-demo ones. If you want to avoid that, you have to pass through the environment variable OPENUPGRADE_USE_DEMO, the value "yes".
For detailed documentation see:
Dependencies
- Odoo dependencies
-
odoo/odoo:- base
- Python dependencies
- openupgradelib
- System dependencies
- None
- Required by
- None
Code analysis
Extracted from the source by best-effort static analysis (no code is executed); details may be incomplete.
Views touched 0
No views found for this module.
HTTP endpoints 0
No HTTP endpoints found for this module.
Models touched 0
No models found for this module.
Loading…
Loading…
Loading…
Loading…
Loading…
Loading…