Se rendre au contenu
Odoo Menu
  • Se connecter
  • Essai gratuit
  • Applications
    Finance
    • Comptabilité
    • Facturation
    • Notes de frais
    • Feuilles de calcul (BI)
    • Documents
    • Signature
    Ventes
    • CRM
    • Ventes
    • PdV Boutique
    • PdV Restaurant
    • Abonnements
    • Location
    Sites web
    • Site Web
    • eCommerce
    • Blog
    • Forum
    • Live Chat
    • eLearning
    Chaîne d'approvisionnement
    • Inventaire
    • Fabrication
    • PLM
    • Achats
    • Maintenance
    • Qualité
    Ressources Humaines
    • Employés
    • Recrutement
    • Congés
    • Évaluations
    • Recommandations
    • Parc automobile
    Marketing
    • Marketing Social
    • E-mail Marketing
    • SMS Marketing
    • Événements
    • Marketing Automation
    • Sondages
    Services
    • Projet
    • Feuilles de temps
    • Services sur Site
    • Assistance
    • Planification
    • Rendez-vous
    Productivité
    • Discussion
    • Validations
    • Internet des Objets
    • VoIP
    • Connaissances
    • WhatsApp
    Applications tierces Odoo Studio Plateforme Cloud d'Odoo
  • Industries
    Commerce de détail
    • Librairie
    • Magasin de vêtements
    • Magasin de meubles
    • Épicerie
    • Quincaillerie
    • Magasin de jouets
    Restauration & Hôtellerie
    • Bar et Pub
    • Restaurant
    • Fast-food
    • Maison d’hôtes
    • Distributeur de boissons
    • Hôtel
    Immobilier
    • Agence immobilière
    • Cabinet d'architecture
    • Construction
    • Gestion immobilière
    • Jardinage
    • Association de copropriétaires
    Consultance
    • Cabinet d'expertise comptable
    • Partenaire Odoo
    • Agence Marketing
    • Cabinet d'avocats
    • Aquisition de talents
    • Audit & Certification
    Fabrication
    • Textile
    • Métal
    • Meubles
    • Alimentation
    • Brasserie
    • Cadeaux d'entreprise
    Santé & Fitness
    • Club de sports
    • Opticien
    • Salle de fitness
    • Praticiens bien-être
    • Pharmacie
    • Salon de coiffure
    Commerce
    • Bricoleur
    • Matériel informatique & support
    • Systèmes photovoltaïques
    • Cordonnier
    • Services de nettoyage
    • Services CVC
    Autres
    • Organisation à but non lucratif
    • Agence environnementale
    • Location de panneaux d'affichage
    • Photographie
    • Leasing de vélos
    • Revendeur de logiciel
    Parcourir toutes les industries
  • Communauté
    Apprenez
    • Tutoriels
    • Documentation
    • Certifications
    • Formation
    • Blog
    • Podcast
    Renforcer l'éducation
    • Programme éducatif
    • Business Game Scale-Up!
    • Rendez-nous visite
    Obtenir le logiciel
    • Téléchargement
    • Comparez les éditions
    • Versions
    Collaborer
    • Github
    • Forum
    • Événements
    • Traductions
    • Devenez partenaire
    • Services pour partenaires
    • Enregistrer votre cabinet comptable
    Nos Services
    • Trouver un partenaire
    • Trouver un comptable
    • Rencontrer un conseiller
    • Services de mise en œuvre
    • Références clients
    • Assistance
    • Mises à niveau
    Github Youtube Twitter Linkedin Instagram Facebook Spotify
    +1 (650) 691-3277
    Obtenir une démonstration
  • Tarification
  • Aide

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

  • CRM
  • e-Commerce
  • Comptabilité
  • Inventaire
  • PoS
  • Projet
  • MRP
All apps
Vous devez être inscrit pour interagir avec la communauté.
Toutes les publications Personnes Badges
Étiquettes (Voir toutl)
odoo accounting v14 pos v15
À propos de ce forum
Vous devez être inscrit pour interagir avec la communauté.
Toutes les publications Personnes Badges
Étiquettes (Voir toutl)
odoo accounting v14 pos v15
À propos de ce forum
Aide

OpenUpgrade from Odoo 9 to Odoo 10.

S'inscrire

Recevez une notification lorsqu'il y a de l'activité sur ce poste

Cette question a été signalée
migrationopenupgradeodoo9
1 Répondre
3984 Vues
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
Ignorer
Avatar
Mily Shajan
Meilleure réponse

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
Ignorer
M
Auteur

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
Auteur

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?

Vous appréciez la discussion ? Ne vous contentez pas de lire, rejoignez-nous !

Créez un compte dès aujourd'hui pour profiter de fonctionnalités exclusives et échanger avec notre formidable communauté !

S'inscrire
Publications associées Réponses Vues Activité
Asset Management migration V12.0 to new versions
migration openupgrade
Avatar
0
mai 23
3218
How to set up 2 OpenUpgrade Servers Résolu
migration openupgrade
Avatar
1
août 19
5551
Error openupgrade hr module
migration openupgrade
Avatar
Avatar
1
mars 15
6581
Database Migration error from Odoo 14 to 15(Community) using Openeupgrade.
migration openupgrade databasemigration
Avatar
Avatar
1
mai 25
3244
Openupgrade - im trying to migrate odoo 14 to odoo 15 with openupgrade.
migration openupgrade OpenUpgrade
Avatar
Avatar
1
avr. 25
3429
Communauté
  • Tutoriels
  • Documentation
  • Forum
Open Source
  • Téléchargement
  • Github
  • Runbot
  • Traductions
Services
  • Hébergement Odoo.sh
  • Assistance
  • Migration
  • Développements personnalisés
  • Éducation
  • Trouver un comptable
  • Trouver un partenaire
  • Devenez partenaire
À propos
  • Notre société
  • Actifs de la marque
  • Contactez-nous
  • Emplois
  • Événements
  • Podcast
  • Blog
  • Clients
  • Informations légales • Confidentialité
  • Sécurité.
الْعَرَبيّة 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 est une suite d'applications open source couvrant tous les besoins de votre entreprise : CRM, eCommerce, Comptabilité, Inventaire, Point de Vente, Gestion de Projet, etc.

Le positionnement unique d'Odoo est d'être à la fois très facile à utiliser et totalement intégré.

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