Contributors mailing list archives

contributors@odoo-community.org

Browse archives

Avatar

Re: Procedure for migration of OCA modules

by "Graeme Gellatly" <graeme@moahub.nz> - 19/01/2024 19:28:22
Hi,

The Odoo and OpenUpgrade processes are technically very similar, except Openupgrade offers a more complete migration than Enterprise migration. Enterprise has a few more things like reports. Openupgrade allows you to take a lot more control over timing and scope and allows you to retain sovereignty over your own data. 

If you have ever viewed the Odoo migration logs they migrate 1 version at a time then next (indeed they do this for every single version like SaaS etc), but only for their own code.

For Openupgrade the process is the same, except 1. You need to have a system to trigger each version migration. The most common system is when it finishes I manually trigger the next migration, and 2. You can migrate any and all code you want along the way but typically it looks like this.

  • For every version migrated install all of the Odoo and OCA modules you are using.
  • For the final version migration, for your own custom code, you write the migration scripts to go from the original version to the target version. This saves the code effort of migrating custom code to work on 3 or 4 different versions of Odoo. 

With Enterprise you need to write migration scripts for all non Odoo S.A modules from the current version to target version. Usually, if there are a lot of these, and you are using primarily good quality modules such as OCA, that already will have migration scripts, the effort is much less with Openupgrade IMO, and many many Enterprise customers use OpenUpgrade for this reason.

On Sat, Jan 20, 2024 at 12:39 AM David Ramia <notifications@odoo-community.org> wrote:

Hello, I have a question about migrating a database when we want to jump several versions, for example from v14 to v16.

Odoo allows you to migrate your modules without problem between several versions, but what would be the correct procedure for OCA modules since if I go from v14 to v16 all the v15 migration scripts are not executed. I know that OpenUpgrade exists, but I see that it is to migrate Odoo modules, I don't see anything with OCA modules.

Is there any procedure for this?

Thanks


David Ramia
Consultor Programador

david.ramia@processcontrol.es
93 229 68 10

www.processcontrol
.es

Este mensaje va dirigido exclusivamente a su destinatario, pudiendo contener información confidencial sometida a secreto profesional. No está permitida su comunicación, reproducción o distribución sin la autorización expresa de PROCESS CONTROL S.C.C.L. De conformidad con lo dispuesto en el GDPR, y la LOPDGDD, sus datos personales y el email del interesado, se tratarán bajo la responsabilidad de PROCESS CONTROL S.C.C.L. por un interés legítimo y para el envío de comunicaciones sobre nuestros productos y servicios, y se conservarán mientras ninguna de las partes se oponga a ello. Los datos podrán comunicarse a las empresas del grupo con el mismo fin antes descrito. Le informamos de que puede ejercer los derechos de acceso, rectificación, portabilidad y supresión de sus datos y los de limitación y oposición a su tratamiento dirigiéndose a rgpd@processcontrol.es. Si considera que el tratamiento no se ajusta a la normativa vigente, podrá presentar una reclamación ante la autoridad de control en www.aepd.es.
This message are addressed exclusively to the recipient and may contain confidential information subject to professional secrecy. It may not be communicated, reproduced or distributed without the express authorisation of PROCESS CONTROL S.C.C.L.. In accordance with the provisions of GDPR and LOPDGDD, your personal data and email addresses collected under the responsibility of PROCESS CONTROL S.C.C.L. for a legitimate interest and for the purpose of sending communications about our products and services and will be retained for as long as none of the parties object. The data may be communicated to companies in the same group for the same purposes as described above. You can exercise your rights of access, rectification, portability and erasure of your data and those of restriction and objection to their processing by mailing
rgpd@processcontrol.es. If you consider that the processing does not comply with current legislation, you may file a complaint with the Spanish supervisory authority at www.aepd.es.

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

Reference