You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In openupgrade this function is used when updating the base module : here. The base module is always the first to be updated as all module depends of it. So this rename function is run before any action take place. This can't be applied in our context.
Therefore, we will create a script rename_deprecated_modules.py for the entire repository that will be run in an odoo shell before every updade. That script calls the rename function of openupgradelib.
With the modules and depending datas renamed, the update of the module will
run the pre-update and post-update hooks
update all the data from the new module and its dependencies.
The text was updated successfully, but these errors were encountered:
We first mapped the module dependencies.
- cf #247
- cf coopiteasy/vertical-cooperative#170
This will be used to prioritise the module migration. We will start by the root modules.
We took these three cases to explore the migration scripts and estimate the time needed for migration.
Following our investigations, here is the selected solution :
We will use
update_module_names
function fromopenupgradelib
.In
openupgrade
this function is used when updating thebase
module : here. Thebase
module is always the first to be updated as all module depends of it. So this rename function is run before any action take place. This can't be applied in our context.Therefore, we will create a script
rename_deprecated_modules.py
for the entire repository that will be run in an odoo shell before every updade. That script calls the rename function of openupgradelib.With the modules and depending datas renamed, the update of the module will
The text was updated successfully, but these errors were encountered: