İçereği Atla
Menü
Bu soru işaretlendi
5 Cevaplar
15757 Görünümler

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
Vazgeç
Üretici

thank you

En İyi Yanıt

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
Vazgeç
En İyi Yanıt

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
Vazgeç
En İyi Yanıt

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
Vazgeç
Üretici En İyi Yanıt

thank you all 😉

Avatar
Vazgeç
İlgili Gönderiler Cevaplar Görünümler Aktivite
4
May 25
2532
2
May 25
5911
1
Mar 25
1698
4
Mar 25
4524
3
Şub 25
5525