[16.0] odoo_repository_migration: qualify a module as renamed or replaced starting from next Odoo version#92
Conversation
There was a problem hiding this comment.
Will change this module_names parameter later, current implementation is a bit crappy but that's OK for now.
ca37004 to
bfe7a48
Compare
|
Hi @sebalix
I think we have two layers of information here:
In your capture, I don't get what is next version for a v16 project targeting v18. |
|
@hparfr indeed, and for now I only focus on the first (system wide / global info that should benefit to all projects). If we flag a module as replaced, we focus on the nearest one technically speaking (could be replaced by a collection of modules, but still we target only one for the sake of simplicity to get at least the info that current module is not maintained anymore and has been replaced by something else). And later I would like to improve the project modules entries within a migration, to put the "by project" info as you say:
You think the "replaced by" choice is not convenient at module level here?
I should add the target module name in the list view to see the new module at a glance. |
|
@hparfr About the discussion we had regarding the place where to store renamed modules. Should we not consolidate the efforts in OpenUpgrade instead in the apriori file? It's not the same format but I believe having only one place where to put this information is better to ease community work. |
|
I think it's good to decouple things. Having a single bdd on git with only one branch allow us to have more fine grain control on permissions for merge and exclude all kind of conflicts. Then with a CI from this repo we can generate part of the apriori.py file. |
…laced for next Odoo version Adapt odoo_project_migration accordingly, and show this info in CSV migration report.
bfe7a48 to
88bbd47
Compare
|
After some tests, seems to work as expected, merging as-is to avoid too much conflicts with the next PR. |
On a module branch form, managers are able to qualify the current module with 3 options regarding the next Odoo version:
(
stock_packaging_calculatorhas been renamedproduct_packaging_calculator, but I set it with "replaced by" flag only for test purpose here)Example of a project CSV migration export (here a renamed module):

For renamed modules, the migration scan is then working with this ongoing development: