Skip to Content
Odoo Menú
  • Registra entrada
  • Prova-ho gratis
  • Aplicacions
    Finances
    • Comptabilitat
    • Facturació
    • Despeses
    • Full de càlcul (IA)
    • Documents
    • Signatura
    Vendes
    • CRM
    • Vendes
    • Punt de venda per a botigues
    • Punt de venda per a restaurants
    • Subscripcions
    • Lloguer
    Imatges de llocs web
    • Creació de llocs web
    • Comerç electrònic
    • Blog
    • Fòrum
    • Xat en directe
    • Aprenentatge en línia
    Cadena de subministrament
    • Inventari
    • Fabricació
    • PLM
    • Compres
    • Manteniment
    • Qualitat
    Recursos humans
    • Empleats
    • Reclutament
    • Absències
    • Avaluacions
    • Recomanacions
    • Flota
    Màrqueting
    • Màrqueting Social
    • Màrqueting per correu electrònic
    • Màrqueting per SMS
    • Esdeveniments
    • Automatització del màrqueting
    • Enquestes
    Serveis
    • Projectes
    • Fulls d'hores
    • Servei de camp
    • Suport
    • Planificació
    • Cites
    Productivitat
    • Converses
    • Validacions
    • IoT
    • VoIP
    • Coneixements
    • WhatsApp
    Aplicacions de tercers Odoo Studio Plataforma d'Odoo al núvol
  • Sectors
    Comerç al detall
    • Llibreria
    • Botiga de roba
    • Botiga de mobles
    • Botiga d'ultramarins
    • Ferreteria
    • Botiga de joguines
    Food & Hospitality
    • Bar i pub
    • Restaurant
    • Menjar ràpid
    • Guest House
    • Distribuïdor de begudes
    • Hotel
    Immobiliari
    • Agència immobiliària
    • Estudi d'arquitectura
    • Construcció
    • Gestió immobiliària
    • Jardineria
    • Associació de propietaris de béns immobles
    Consultoria
    • Empresa comptable
    • Partner d'Odoo
    • Agència de màrqueting
    • Bufet d'advocats
    • Captació de talent
    • Auditoria i certificació
    Fabricació
    • Textile
    • Metal
    • Mobles
    • Menjar
    • Brewery
    • Regals corporatius
    Salut i fitness
    • Club d'esport
    • Òptica
    • Centre de fitness
    • Especialistes en benestar
    • Farmàcia
    • Perruqueria
    Trades
    • Servei de manteniment
    • Hardware i suport informàtic
    • Sistemes d'energia solar
    • Shoe Maker
    • Serveis de neteja
    • Instal·lacions HVAC
    Altres
    • Nonprofit Organization
    • Agència del medi ambient
    • Lloguer de panells publicitaris
    • Fotografia
    • Lloguer de bicicletes
    • Distribuïdors de programari
    Browse all Industries
  • Comunitat
    Aprèn
    • Tutorials
    • Documentació
    • Certificacions
    • Formació
    • Blog
    • Pòdcast
    Potenciar l'educació
    • Programa educatiu
    • Scale-Up! El joc empresarial
    • Visita Odoo
    Obtindre el programari
    • Descarregar
    • Comparar edicions
    • Novetats de les versions
    Col·laborar
    • GitHub
    • Fòrum
    • Esdeveniments
    • Traduccions
    • Converteix-te en partner
    • Services for Partners
    • Registra la teva empresa comptable
    Obtindre els serveis
    • Troba un partner
    • Troba un comptable
    • Contacta amb un expert
    • Serveis d'implementació
    • Referències del client
    • Suport
    • Actualitzacions
    Github Youtube Twitter Linkedin Instagram Facebook Spotify
    +1 (650) 691-3277
    Programar una demo
  • Preus
  • Ajuda

Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:

  • CRM
  • e-Commerce
  • Comptabilitat
  • Inventari
  • PoS
  • Projectes
  • MRP
All apps
You need to be registered to interact with the community.
All Posts People Badges
Etiquetes (View all)
odoo accounting v14 pos v15
About this forum
You need to be registered to interact with the community.
All Posts People Badges
Etiquetes (View all)
odoo accounting v14 pos v15
About this forum
Ajuda

Open Upgrade: How to upgrade from Odoo 16 to Odoo 17 ?

Subscriure's

Get notified when there's activity on this post

This question has been flagged
v17
7 Respostes
14257 Vistes
Avatar
p!t@

Hi everyone,

I want to migrate my V16 database to V17, I'm encountering some difficulties.

Steps taken 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: 

​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

I tried the second option:

[options]

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

I have followed the recommendations given here 👇

https://github.com/OCA/OpenUpgrade/tree/17.0/openupgrade_scripts#:~:text=%5Boptions%5D%0Aupgrade_path%20%3D%20/PATH_TO_openupgrade_scripts_MODULE/scripts/


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

Am I missing something?

Thank you for your help and suggestions

0
Avatar
Descartar
Avatar
Sudhir Arya (ERP Harbor Consulting Services)
Best Answer

OpenUpgrade v17 is not yet ready. You can check the progress here: https://github.com/OCA/OpenUpgrade/issues/4124

1
Avatar
Descartar
Manish Bohra

In that case what is alternative?

Aslam Up

Could you kindly provide an update on the Open Upgrade v17?. Is it ready or not yet ready ?

Avatar
Patter Roni
Best Answer

To migrate your Odoo 16 database to Odoo 17, ensure you have the correct setup and dependencies. Start by cloning the OpenUpgrade repository’s 17.0 branch using:

git clone --branch 17.0 https://github.com/OCA/OpenUpgrade.git /mnt/extra-addons/migration_scripts.

Next, confirm the scripts directory exists at /mnt/extra-addons/migration_scripts/openupgrade_scripts/scripts. Install the openupgradelib package using pip install openupgradelib. Update your odoo.conf file by adding:

[options] addons_path = /path_to_your_addons,/mnt/extra-addons/migration_scripts upgrade_path = /mnt/extra-addons/migration_scripts/openupgrade_scripts/scripts

Once configured, run the migration command: ./odoo-bin -d DEMO-MIGRATION -u all. If your database isn’t migrated or errors occur, check the logs by enabling debug mode in the odoo.conf file (log_level = debug). Ensure your migration scripts are complete and compatible for all modules, including custom and third-party ones. Verify data integrity post-migration by logging into the system and running consistency checks like ./odoo-bin -d DEMO-MIGRATION --check-xml. Following these steps should resolve migration issues and ensure a smooth transition to Odoo 17.


0
Avatar
Descartar
Avatar
Aslam Up
Best Answer

Are you able to upgrade from v16 to v17 using Open upgrade script ? Kindly update..

0
Avatar
Descartar
Sudhir Arya (ERP Harbor Consulting Services)

As you can see the work is still in progress.
https://github.com/OCA/OpenUpgrade/issues/4124

Avatar
Favio Náquira
Best Answer

did you manage to solve it?

0
Avatar
Descartar
Avatar
Mario Gielissen
Best Answer

https://github.com/Viindoo/OpenUpgrade/tree/17.0

0
Avatar
Descartar
Avatar
Henk de Leeuw
Best Answer

Odoo 17 is so new, that no OpenUpgrade scripts have been published yet.
There are analysis.txt files in the subdirectories of openupgrade_scripts/scripts, but no pre-*.py or post-*.py files.
If Odoo does not find those, it says that the scripts directory is not a valid upgrade directory.

So, a bit of patience will help (I'm in the same boat)
(I don't have enough karma yet to post links yet, so visit the OpenUpgrade documentation site to find out more)

0
Avatar
Descartar
Avatar
subbarao
Best Answer

you can try with bellow option

python  ./odoo-bin -d database_name --config=/odoo/odoo17_migration/odoo/debian/odoo.conf --upgrade-path=/odoo/odoo17_migration/OpenUpgrade-17.0/openupgrade_scripts/scripts -u all


Before running, Make sure config file path and configuration is updated or not 

0
Avatar
Descartar
Enjoying the discussion? Don't just read, join in!

Create an account today to enjoy exclusive features and engage with our awesome community!

Registrar-se
Related Posts Respostes Vistes Activitat
Ya es posible hacer Upgrade de v17 a v17.1 ?
v17
Avatar
Avatar
1
d’oct. 25
1471
How to add a new Many2one field in res.config.settings? Solved
v17
Avatar
Avatar
Avatar
Avatar
4
d’oct. 25
4115
Add field to ALL models in Odoo
v17
Avatar
Avatar
Avatar
2
de set. 25
2664
How to disable Email notification - You have been assigned to Solved
v17
Avatar
Avatar
Avatar
Avatar
4
de set. 25
8222
Selection Field Options Disappear from Database (PostgreSQL enum) on Module Upgrade
v17
Avatar
0
d’ag. 25
1451
Community
  • Tutorials
  • Documentació
  • Fòrum
Codi obert
  • Descarregar
  • GitHub
  • Runbot
  • Traduccions
Serveis
  • Allotjament a Odoo.sh
  • Suport
  • Actualització
  • Desenvolupaments personalitzats
  • Educació
  • Troba un comptable
  • Troba un partner
  • Converteix-te en partner
Sobre nosaltres
  • La nostra empresa
  • Actius de marca
  • Contacta amb nosaltres
  • Llocs de treball
  • Esdeveniments
  • Pòdcast
  • Blog
  • Clients
  • Informació legal • Privacitat
  • Seguretat
الْعَرَبيّة Català 简体中文 繁體中文 (台灣) Čeština Dansk Nederlands English Suomi Français Deutsch हिंदी Bahasa Indonesia Italiano 日本語 한국어 (KR) Lietuvių kalba Język polski Português (BR) română русский язык Slovenský jazyk slovenščina Español (América Latina) Español ภาษาไทย Türkçe українська Tiếng Việt

Odoo és un conjunt d'aplicacions empresarials de codi obert que cobreix totes les necessitats de la teva empresa: CRM, comerç electrònic, comptabilitat, inventari, punt de venda, gestió de projectes, etc.

La proposta única de valor d'Odoo és ser molt fàcil d'utilitzar i estar totalment integrat, ambdues alhora.

Website made with

Odoo Experience on YouTube

1. Use the live chat to ask your questions.
2. The operator answers within a few minutes.

Live support on Youtube
Watch now