Ir al contenido
Menú
Se marcó esta pregunta
5 Respuestas
15703 Vistas

Hello, I've been an Odoo user since version 16, and I want to switch to version 17 to access the new features.

How can I do this since I understand it's not automatic? 

Thank you for your help.

Avatar
Descartar
Autor

thank you

Mejor respuesta

Hello Johan, 


There are two options:

1. In case of enterprise - https://upgrade.odoo.com/

2. In the case of community - https://github.com/OCA/OpenUpgrade/tree/17.0


Community: https://medium.com/@karan.bk/upgrade-odoo-database-with-openupgrade-a951dfdf13cf


FYI: In case of custom changes you need to work on it.


Thanks.


Avatar
Descartar
Mejor respuesta

Hi Johan;

Can you explain in detail how you did it?

I've made a mistake.

  • Command: ./odoo-bin --database=DEMO-MIGRATION --upgrade-path=/mnt/extra-addons/migration_scripts/openupgrade_scripts/scripts
  • mistake: Usage: odoo-bin server [options] 

​odoo-bin server: error: option --upgrade-path: the path '/mnt/extra- ​addons/migration_scripts/openupgrade_scripts/scripts' is not a valid upgrade ​directory

Steps taken to try to migrate from Odoo 16 to Odoo 17:

  • I restored my V16 database to a V17 version
  •  I downloaded the openupgrade_scripts module
  •  I created a migration_scripts folder, adding the openupgrade_scripts module, and then added the path to my addons.
  • I installed the openupgradelib package
  • and called my instance with the command: ./odoo-bin --database=DEMO-MIGRATION --upgrade-path=/mnt/extra-addons/migration_scripts/openupgrade_scripts/scripts
  • mistake

I tried the second option:

[options]

upgrade_path = /mnt/extra-addons/migration_scripts/openupgrade_scripts/scripts


There's no error, but my database hasn't been migrated

Am I missing something?

Thanks for your suggestions

Avatar
Descartar
Mejor respuesta

Hello,

For Odoo Migration which involves two Major  Steps.

  1. Odoo Module Migration
  2. Odoo Database Migration

The process is different for Community and Enterprise. 

For Enterprise Edition.

1. The Database will migrated by Odoo Team. You can use below link for it

https://upgrade.odoo.com/

2. Once you migrated the Database. Then migrate custom Add-ons if anything.

 3. Download the latest Odoo 17 source code and run the new DB with migrated custom addons.

For community Edition.

1. Here we should migrate our Database using custom import or OpenUpgrade script.

2. Once you migrated the Database. Then migrate custom Add-ons if anything.

 3. Download the latest Odoo 17 source code and run the new DB with migrated custom addons.


Once you done this steps, then we can do a complete Testing then plan for production.





Avatar
Descartar
Autor Mejor respuesta

thank you all 😉

Avatar
Descartar
Publicaciones relacionadas Respuestas Vistas Actividad
4
may 25
2511
2
may 25
5867
1
mar 25
1689
4
mar 25
4474
3
feb 25
5478