コンテンツへスキップ
メニュー
この質問にフラグが付けられました
5 返信
15777 ビュー

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.

アバター
破棄
著作者

thank you

最善の回答

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.


アバター
破棄
最善の回答

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

アバター
破棄
最善の回答

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.





アバター
破棄
著作者 最善の回答

thank you all 😉

アバター
破棄
関連投稿 返信 ビュー 活動
4
5月 25
2538
2
5月 25
5916
1
3月 25
1699
4
3月 25
4529
3
2月 25
5530