Skip to Content
Odoo Menu
  • Prijavi
  • Try it free
  • Aplikacije
    Finance
    • Knjigovodstvo
    • Obračun
    • Stroški
    • Spreadsheet (BI)
    • Dokumenti
    • Podpisovanje
    Prodaja
    • CRM
    • Prodaja
    • POS Shop
    • POS Restaurant
    • Naročnine
    • Najem
    Spletne strani
    • Website Builder
    • Spletna trgovina
    • Blog
    • Forum
    • Pogovor v živo
    • eUčenje
    Dobavna veriga
    • Zaloga
    • Proizvodnja
    • PLM
    • Nabava
    • Vzdrževanje
    • Kakovost
    Kadri
    • Kadri
    • Kadrovanje
    • Odsotnost
    • Ocenjevanja
    • Priporočila
    • Vozni park
    Marketing
    • Družbeno Trženje
    • Email Marketing
    • SMS Marketing
    • Dogodki
    • Avtomatizacija trženja
    • Ankete
    Storitve
    • Projekt
    • Časovnice
    • Storitve na terenu
    • Služba za pomoč
    • Načrtovanje
    • Termini
    Produktivnost
    • Razprave
    • Odobritve
    • IoT
    • Voip
    • Znanje
    • WhatsApp
    Third party apps Odoo Studio Odoo Cloud Platform
  • Industrije
    Trgovina na drobno
    • Book Store
    • Trgovina z oblačili
    • Trgovina s pohištvom
    • Grocery Store
    • Trgovina s strojno opremo računalnikov
    • Trgovina z igračami
    Food & Hospitality
    • Bar and Pub
    • Restavracija
    • Hitra hrana
    • Guest House
    • Beverage Distributor
    • Hotel
    Nepremičnine
    • Real Estate Agency
    • Arhitekturno podjetje
    • Gradbeništvo
    • Estate Management
    • Vrtnarjenje
    • Združenje lastnikov nepremičnin
    Svetovanje
    • Računovodsko podjetje
    • Odoo Partner
    • Marketinška agencija
    • Law firm
    • Pridobivanje talentov
    • Audit & Certification
    Proizvodnja
    • Tekstil
    • Metal
    • Pohištvo
    • Hrana
    • Brewery
    • Poslovna darila
    Health & Fitness
    • Športni klub
    • Trgovina z očali
    • Fitnes center
    • Wellness Practitioners
    • Lekarna
    • Frizerski salon
    Trades
    • Handyman
    • IT Hardware & Support
    • Sistemi sončne energije
    • Izdelovalec čevljev
    • Čistilne storitve
    • HVAC Services
    Ostali
    • Neprofitna organizacija
    • Agencija za okolje
    • Najem oglasnih panojev
    • Fotografija
    • Najem koles
    • Prodajalec programske opreme
    Browse all Industries
  • Skupnost
    Learn
    • Tutorials
    • Dokumentacija
    • Certifikati
    • Šolanje
    • Blog
    • Podcast
    Empower Education
    • Education Program
    • Scale Up! Business Game
    • Visit Odoo
    Get the Software
    • Prenesi
    • Compare Editions
    • Releases
    Collaborate
    • Github
    • Forum
    • Dogodki
    • Prevodi
    • Become a Partner
    • Services for Partners
    • Register your Accounting Firm
    Get Services
    • Find a Partner
    • Find an Accountant
    • Meet an advisor
    • Implementation Services
    • Sklici kupca
    • Podpora
    • Upgrades
    Github Youtube Twitter Linkedin Instagram Facebook Spotify
    +1 (650) 691-3277
    Get a demo
  • Določanje cen
  • Pomoč

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

  • CRM
  • e-Commerce
  • Knjigovodstvo
  • Zaloga
  • PoS
  • Projekt
  • MRP
All apps
You need to be registered to interact with the community.
All Posts People Badges
Ključne besede (View all)
odoo accounting v14 pos v15
About this forum
You need to be registered to interact with the community.
All Posts People Badges
Ključne besede (View all)
odoo accounting v14 pos v15
About this forum
Pomoč

OpenUpgrade from Odoo 9 to Odoo 10.

Naroči se

Get notified when there's activity on this post

This question has been flagged
migrationopenupgradeodoo9
1 Odgovori
4042 Prikazi
Avatar
M

I've been trying to do a migration from Odoo 9 to Odoo 10 using OpenUpgrade and following the documentation here; https://oca\.github\.io/OpenUpgrade/intro\.html

Unfortunately,\ the\ documentation\ is\ written\ with\ so\ much\ assumed\ knowledge\ as\ to\ be\ of\ little\ use,\ and\ some\ things\ just\ don't\ work\.\ For\ example,\ it's\ not\ possible\ to\ install\ openupgradelib\ when\ you're\ still\ on\ Python\ 2\.7\.\ This\ is\ reported\ here; https://github.com/OCA/openupgradelib/issues/159.

I've tried the official Odoo docker image for Odoo 9 along with various unofficial ones. Nothing works. I am assuming that the codebase required for running the migration is the version we're starting from, rather than the target, though this is only stated in a couple of blogs I've found, and not mentioned in the OpenUpgrade documenation.

I've found numerous blog articles that claim to show how to perform a migration, but that have such obvious errors that clearly they have not executed a migration at all. Some have even stated that you can migrate across multiple major versions in a single migration; contrary to the official documentation.

Clearly there's a lot of bad information out there. Does anyone have a single guide to migration that actually works?


0
Avatar
Opusti
Avatar
Mily Shajan
Best Answer

Hi

First, you can download the open upgrade migration script from OCA , add it to your odoo9 folder along with addons.

https://github.com/OCA/OpenUpgrade.git

Then install openupgradelib package using 'pip install openupgradelib'.run the following command in the terminal

./odoo-bin --addons-path=/opt/odoo/OpenUpgrade/addons,/opt/odoo/OpenUpgrade/odoo/addons --update=all --database=database_name --stop-after-init

Please check the following links for more clear

https://www.odoo.com/forum/help-1/detailed-instruction-for-migrating-odoo-8-12-with-openupgrade-155330

https://www.cybrosys.com/blog/how-to-migrate-odoo-database-using-openupgrade


Hope this Helps

Regards






0
Avatar
Opusti
M
Avtor

Thanks for the prompt response, however this is a very simplistic explanation and one which doesn't work in the real world. For a start, as mentioned in my original post; openupgradelib doesn't install on Python 2.7.
I'm attempting to use this solution now; https://github.com/tools-utils/docker-odoo-migration and I seem to at least be able to get the migration to execute, however it's failing trying to insert data that violates unique constraints. I'm currently investigating if it's related to collation.

M
Avtor

I also note looking at one of the links; https://www.odoo.com/forum/help-1/detailed-instruction-for-migrating-odoo-8-12-with-openupgrade-155330 that it suggests that you need to download two branches for a migrtion; one for the version you're migrating from and the other for the version you're migrating to. This doesn't seem to make any sense and is counter to what's stated in the documentation. Is this another example of bad information?

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

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

Prijavi
Related Posts Odgovori Prikazi Aktivnost
Asset Management migration V12.0 to new versions
migration openupgrade
Avatar
0
maj 23
3237
How to set up 2 OpenUpgrade Servers Solved
migration openupgrade
Avatar
1
avg. 19
5572
Error openupgrade hr module
migration openupgrade
Avatar
Avatar
1
mar. 15
6601
Problems Migrating (OpenUpgrade) Odoo Sites from v15 -> v16
migration openupgrade odoo16
Avatar
Avatar
2
dec. 25
2967
Database Migration error from Odoo 14 to 15(Community) using Openeupgrade.
migration openupgrade databasemigration
Avatar
Avatar
1
maj 25
3263
Community
  • Tutorials
  • Dokumentacija
  • Forum
Open Source
  • Prenesi
  • Github
  • Runbot
  • Prevodi
Services
  • Odoo.sh Hosting
  • Podpora
  • Nadgradnja
  • Custom Developments
  • Izobraževanje
  • Find an Accountant
  • Find a Partner
  • Become a Partner
About us
  • Our company
  • Sredstva blagovne znamke
  • Kontakt
  • Zaposlitve
  • Dogodki
  • Podcast
  • Blog
  • Stranke
  • Pravno • Zasebnost
  • Varnost
الْعَرَبيّة 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 is a suite of open source business apps that cover all your company needs: CRM, eCommerce, accounting, inventory, point of sale, project management, etc.

Odoo's unique value proposition is to be at the same time very easy to use and fully integrated.

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