跳至内容
菜单
此问题已终结
5 回复
15368 查看

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
2108
2
5月 25
5457
1
3月 25
1364
4
3月 25
4139
3
2月 25
5081