Skip to Content
Odoo Menu
  • Prihlásiť sa
  • Vyskúšajte zadarmo
  • Aplikácie
    Financie
    • Účtovníctvo
    • Fakturácia
    • Výdavky
    • Tabuľka (BI)
    • Dokumenty
    • Podpis
    Predaj
    • CRM
    • Predaj
    • POS Shop
    • POS Restaurant
    • Manažment odberu
    • Požičovňa
    Webstránky
    • Tvorca webstránok
    • eShop
    • Blog
    • Fórum
    • Živý chat
    • eLearning
    Supply Chain
    • Sklad
    • Výroba
    • Správa životného cyklu produktu
    • Nákup
    • Údržba
    • Manažment kvality
    Ľudské zdroje
    • Zamestnanci
    • Nábor zamestnancov
    • Voľné dni
    • Hodnotenia
    • Odporúčania
    • Vozový park
    Marketing
    • Marketing sociálnych sietí
    • Email marketing
    • SMS marketing
    • Eventy
    • Marketingová automatizácia
    • Prieskumy
    Služby
    • Projektové riadenie
    • Pracovné výkazy
    • Práca v teréne
    • Helpdesk
    • Plánovanie
    • Schôdzky
    Produktivita
    • Tímová komunikácia
    • Schvalovania
    • IoT
    • VoIP
    • Znalosti
    • WhatsApp
    Third party apps Odoo Studio Odoo Cloud Platform
  • Priemyselné odvetvia
    Retail
    • Book Store
    • Clothing Store
    • Furniture Store
    • Grocery Store
    • Hardware Store
    • Toy Store
    Food & Hospitality
    • Bar and Pub
    • Reštaurácia
    • Fast Food
    • Guest House
    • Beverage distributor
    • Hotel
    Reality
    • Real Estate Agency
    • Architecture Firm
    • Konštrukcia
    • Estate Managament
    • Gardening
    • Property Owner Association
    Poradenstvo
    • Accounting Firm
    • Odoo Partner
    • Marketing Agency
    • Law firm
    • Talent Acquisition
    • Audit & Certification
    Výroba
    • Textile
    • Metal
    • Furnitures
    • Jedlo
    • Brewery
    • Corporate Gifts
    Health & Fitness
    • Sports Club
    • Eyewear Store
    • Fitness Center
    • Wellness Practitioners
    • Pharmacy
    • Hair Salon
    Trades
    • Handyman
    • IT Hardware and Support
    • Solar Energy Systems
    • Shoe Maker
    • Cleaning Services
    • HVAC Services
    Iní
    • Nonprofit Organization
    • Environmental Agency
    • Billboard Rental
    • Photography
    • Bike Leasing
    • Software Reseller
    Browse all Industries
  • Komunita
    Vzdelávanie
    • Tutoriály
    • Dokumentácia
    • Certifikácie
    • Školenie
    • Blog
    • Podcast
    Empower Education
    • Vzdelávací program
    • Scale Up! Business Game
    • Visit Odoo
    Softvér
    • Stiahnuť
    • Porovnanie Community a Enterprise vierzie
    • Releases
    Spolupráca
    • Github
    • Fórum
    • Eventy
    • Preklady
    • Staň sa partnerom
    • Services for Partners
    • Register your Accounting Firm
    Služby
    • Nájdite partnera
    • Nájdite účtovníka
    • Meet an advisor
    • Implementation Services
    • Zákaznícke referencie
    • Podpora
    • Upgrades
    ​Github Youtube Twitter Linkedin Instagram Facebook Spotify
    +1 (650) 691-3277
    Získajte demo
  • Cenník
  • Pomoc

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

  • CRM
  • e-Commerce
  • Účtovníctvo
  • Sklady
  • PoS
  • Projektové riadenie
  • MRP
All apps
You need to be registered to interact with the community.
All Posts People Badges
Tagy (View all)
odoo accounting v14 pos v15
About this forum
You need to be registered to interact with the community.
All Posts People Badges
Tagy (View all)
odoo accounting v14 pos v15
About this forum
Pomoc

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

Odoberať

Get notified when there's activity on this post

This question has been flagged
v17
7 Replies
14275 Zobrazenia
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
Zrušiť
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
Zrušiť
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
Zrušiť
Avatar
Aslam Up
Best Answer

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

0
Avatar
Zrušiť
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
Zrušiť
Avatar
Mario Gielissen
Best Answer

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

0
Avatar
Zrušiť
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
Zrušiť
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
Zrušiť
Enjoying the discussion? Don't just read, join in!

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

Registrácia
Related Posts Replies Zobrazenia Aktivita
Ya es posible hacer Upgrade de v17 a v17.1 ?
v17
Avatar
Avatar
1
okt 25
1509
How to add a new Many2one field in res.config.settings? Solved
v17
Avatar
Avatar
Avatar
Avatar
4
okt 25
4132
Add field to ALL models in Odoo
v17
Avatar
Avatar
Avatar
2
sep 25
2700
How to disable Email notification - You have been assigned to Solved
v17
Avatar
Avatar
Avatar
Avatar
4
sep 25
8245
Selection Field Options Disappear from Database (PostgreSQL enum) on Module Upgrade
v17
Avatar
0
aug 25
1458
Komunita
  • Tutoriály
  • Dokumentácia
  • Fórum
Open Source
  • Stiahnuť
  • Github
  • Runbot
  • Preklady
Služby
  • Odoo.sh hosting
  • Podpora
  • Vyššia verzia
  • Custom Developments
  • Vzdelávanie
  • Nájdite účtovníka
  • Nájdite partnera
  • Staň sa partnerom
O nás
  • Naša spoločnosť
  • Majetok značky
  • Kontaktujte nás
  • Pracovné ponuky
  • Eventy
  • Podcast
  • Blog
  • Zákazníci
  • Právne dokumenty • Súkromie
  • Bezpečnosť
الْعَرَبيّة 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 je sada podnikových aplikácií s otvoreným zdrojovým kódom, ktoré pokrývajú všetky potreby vašej spoločnosti: CRM, e-shop, účtovníctvo, skladové hospodárstvo, miesto predaja, projektový manažment atď.

Odoo prináša vysokú pridanú hodnotu v jednoduchom použití a súčasne plne integrovanými biznis aplikáciami.

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