Contributors mailing list archives

contributors@odoo-community.org

Browse archives

Avatar

Re: Odoo OpenUpgrade Wizard status ?

by
Rosen Vladimirov
- 08/01/2025 16:14:04
My experience: The logic of OpenUpgrade tools from OCA is not relevant in all cases. The tool is based on logic: Convert sql database with new version of modules and move version step by step and change all modules to have all versions.
Better way is to prepare new versions with correct modules and to import from old records using the OdooRPC tool. I migrate from 11.0 to 16.0 and to 17.0 using my script The logic there is to import data from old databases to convert in script and to import results in new databases. The trick is to save an external indication link to the old database record id, after which it is possible to move data from the live old database importing again if something is changed. The problem of the script is to have experience in all versions to find differences in data.

Thanks,
Rosen Vladimirov
+359886100204


На вт, 7.01.2025 г. в 15:52 Holger Brunn <notifications@odoo-community.org> написа:
I can't comment on the maturity of this tool, but wrote one myself mainly with 
the idea to make the project more accessible for new contributors:
https://github.com/hbrunn/OpenUpgrade/tree/run-migration
(you'll have to replace oca with hbrunn in the code snippet)

As for the matureness of this: Works pretty well, but as anything relying on 
OpenUpgrade it's not very robust against malformed data or other unexpected 
conditions. So while things *can* work great without any user intervention, 
there's always a chance you'll need to adapt your data to the upgrade scripts' 
expectations (or change those), and that will usually require deep technical 
knowledge about the Odoo versions involved.



-- 
Your partner for the hard Odoo problems
https://hunki-enterprises.com

_______________________________________________
Mailing-List: https://odoo-community.org/groups/contributors-15
Post to: mailto:contributors@odoo-community.org
Unsubscribe: https://odoo-community.org/groups?unsubscribe

Reference