Contributors mailing list archives

contributors@odoo-community.org

Browse archives

Avatar

Re: Procedure for migration of OCA modules

by
Tecnativa. S. L., David Vidal
- 19/01/2024 12:58:43
Normally (hopefully) every migrated OCA module contains that version migration scripts. And then with OpenUpgrade they're triggered in order along with the core migration scripts. Even more, when an OCA module is merged into another or renamed, it can be (should be) declared in a dictionary declared in OpenUpgrade (apriori.py) and that perform some automatic migration tasks that ease that kind of situation.

On the other hand, you should pass your database through each version migration, as otherwise you'd be missing important data transformations and your result would be very likely inconsistent.


El vie, 19 ene 2024 a las 12:39, David Ramia (<notifications@odoo-community.org>) escribió:

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