Module to integrate in the server_wide_modules option to make upgrades between two major revisions.
Description en anglaisCaptures d'écran
Openupgrade Framework
This module is a technical module that contains a number of monkeypatches to improve the behaviour of Omnifloo 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 Omnifloo data model of the target release. After the migration, you can review and delete unused database tables and columns using database_cleanup. See lien externe
- 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:
Table of contents
Installation
This module does not need to be installed on a database. It simply needs to be available via your addons-path.
Configuration
- call your Omnifloo instance with the option --load=base,web,openupgrade_framework
or
- add the key to your configuration file:
[options] server_wide_modules = web,openupgrade_framework
When you load the module in either way of these ways, and you have the openupgrade_scripts module in your addons path available, the –upgrade-path option of Omnifloo will be set automatically to the location of the OpenUpgrade migration scripts.
Development
The odoo_patch folder contains python files in a tree that mimicks the folder tree of the Omnifloo project. It contains a number of monkey patches to improve the migration of an Omnifloo database between two major versions.
So far, we are able to make everything work without overwriting large blocks of code, but if larger patches need to be added, please use the method described below:
To see the patches added, you can use meld tools:
meld PATH_TO_ODOO_FOLDER PATH_TO_OPENUPGRADE_FRAMEWORK_MODULE/odoo_patch
To make more easy the diff analysis :
- Make sure the python files has the same path as the original one.
- Keep the same indentation as the original file. (using if True: if required)
- Add the following two lines at the beginning of your file, to avoid flake8 / pylint errors
# flake8: noqa # pylint: skip-file
- When you want to change the code. add the following tags:
For an addition:
# <OpenUpgrade:ADD> some code... # </OpenUpgrade>
For a change:
# <OpenUpgrade:CHANGE> some code... # </OpenUpgrade>
For a removal:
# <OpenUpgrade:REMOVE> # Comment the code, instead of removing it. # </OpenUpgrade>
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
- Opener B.V.
- GRAP
- Hunki Enterprises BV
Contributors
- Stefan Rijnhart <stefan@opener.amsterdam>
- Sylvain LE GAL <https://twitter.com/legalsylvain>
Other credits
Many developers have contributed to the OpenUpgrade framework in its previous incarnation. Their original contributions may no longer needed, or they are no longer recognizable in their current form but OpenUpgrade would not have existed at this point without them.
Maintainers
This module is maintained by the OCA.
OCA, or the OCA, is a nonprofit organization whose mission is to support the collaborative development of Omnifloo features and promote its widespread use.
Current maintainers:
This module is part of the OCA/OpenUpgrade project on GitHub.
You are welcome to contribute. To learn how please visit lien externe.
Ce que l'application ne fait pas
L'éditeur n'a pas encore publié la liste de ce que l'application ne fait pas. C'est une règle du magasin : demandez-la au support avant de vous engager.
Applications du magasin nécessaires
Aucune.
Modules standard utilisés
base
Bibliothèques Python
openupgradelib
| Série | Version | État | Publiée le |
|---|---|---|---|
| 19.0 | 19.0.1.0.0 | En développement | 22/09/2026 |
Fiche générée depuis julien2364/omnifloo-oca-OpenUpgrade (branche 19.0, commit 709bffde906a).
Contrôle automatique du magasin (distinct de l'éditeur), appliqué à toutes les applications. Conforme.
| Contrôle | Résultat | Effet si absent |
|---|---|---|
| Manifeste lisible sans exécution | conforme | bloquant |
| Licence reconnue (AGPL-3) | conforme | bloquant |
| Aucune dépendance vers l'édition Enterprise | conforme | bloquant |
| Aucun import de code Enterprise | conforme | bloquant |
| Aucun en-tête de licence Enterprise | conforme | bloquant |
| Version normalisée (19.0.1.0.0) | conforme | info |
| Icône static/description/icon.png | conforme | déclasse |
| Description (static/description/index.html ou README) | conforme | déclasse |
| Tests automatisés (tests/test_*.py) | conforme | déclasse |
| Traduction française (i18n/fr.po) | absent | info |
| Section « Ce que le module ne fait pas » | absent | info |
| Titre de 70 caractères au plus (21 actuellement) | conforme | info |
| Résumé en français | absent | info |
Avis des clients connectés. Un avis noté par client ; l'éditeur peut y répondre. Connectez-vous pour laisser un avis.
- Éditeur
- OCA
- Signaler un problème
- https://github.com/OCA/OpenUpgrade
- Clients Omnifloo
- Support inclus selon votre formule : contactez le support.
