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

OpenUpgrade from Odoo 9 to Odoo 10.

Subscriure's

Get notified when there's activity on this post

This question has been flagged
migrationopenupgradeodoo9
1 Respondre
3935 Vistes
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
Descartar
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
Descartar
M
Autor

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
Autor

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!

Registrar-se
Related Posts Respostes Vistes Activitat
Asset Management migration V12.0 to new versions
migration openupgrade
Avatar
0
de maig 23
3192
How to set up 2 OpenUpgrade Servers Solved
migration openupgrade
Avatar
1
d’ag. 19
5506
Error openupgrade hr module
migration openupgrade
Avatar
Avatar
1
de març 15
6525
Database Migration error from Odoo 14 to 15(Community) using Openeupgrade.
migration openupgrade databasemigration
Avatar
Avatar
1
de maig 25
3160
Openupgrade - im trying to migrate odoo 14 to odoo 15 with openupgrade.
migration openupgrade OpenUpgrade
Avatar
Avatar
1
d’abr. 25
3382
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