Contributors mailing list archives

[email protected]

Browse archives

Avatar

Re: New module to upgrade Odoo from Odoo itself

by
Sergio Corato
- 23/06/2025 10:02:09
Hi Cyril,
about external debian dependencies, like this one `libcairo2-dev`, I tried (see https://github.com/efatto/openupgrader/actions/runs/15818453346/job/44581882551 ), but this is not a binary.
Sergio Corato


Il giorno sab 21 giu 2025 alle ore 03:36 Cyril VINH-TUNG <[email protected]> ha scritto:
Hi Sergio,

It looks great !

So you need an odoo instance to upgrade other instances, right ?
I guess the goal is to let non technical persons to manage migrations... ?

About external debian dependencies, I think you can manage that with _manifest__.py


Best regards

--------------------------------
Cyril VINH-TUNG
INVITU
Computer & Network Engineering
BP 32 - 98713 Papeete - French Polynesia
Tél: +689 40 46 11 99
[email protected]

Le ven. 20 juin 2025, 03:21, Sergio Corato <[email protected]> a écrit :
Hi all!

I put in a module for Odoo the methods I use to migrate Odoo from v. 7.0 onwards, to migrate to one or more upper versions from inside Odoo itself.

It works by creating a series of virtualenv, one for each version to migrate, and making some customizable fixes on the process.

The readme of the module is here https://github.com/efatto/openupgrader/blob/14.0/openupgrader/README.rst and I would like to contribute it to OCA if possible.

Sergio Corato

Notes:
1. The methods need a robust refactoring - I've started to write them when I barely knew Python - but they have worked for several years, migrating more versions like from 8.0 to 12.0.
2.  This module needs some extra debian package to work in the default OCA container, so it's impossible to make the tests work now.

Sergio Corato

Reference

OSZAR »