Skip ke Konten
Menu
Pertanyaan ini telah diberikan tanda
5 Replies
15763 Tampilan

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
Buang
Penulis

thank you

Jawaban Terbai

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
Buang
Jawaban Terbai

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
Buang
Jawaban Terbai

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
Buang
Penulis Jawaban Terbai

thank you all 😉

Avatar
Buang
Post Terkait Replies Tampilan Aktivitas
4
Mei 25
2537
2
Mei 25
5915
1
Mar 25
1698
4
Mar 25
4526
3
Feb 25
5530