Skip to Content
Odoo Menu
  • Sign in
  • Try it free
  • Apps
    Finance
    • Accounting
    • Invoicing
    • Expenses
    • Spreadsheet (BI)
    • Documents
    • Sign
    Sales
    • CRM
    • Sales
    • POS Shop
    • POS Restaurant
    • Subscriptions
    • Rental
    Websites
    • Website Builder
    • eCommerce
    • Blog
    • Forum
    • Live Chat
    • eLearning
    Supply Chain
    • Inventory
    • Manufacturing
    • PLM
    • Purchase
    • Maintenance
    • Quality
    Human Resources
    • Employees
    • Recruitment
    • Time Off
    • Appraisals
    • Referrals
    • Fleet
    Marketing
    • Social Marketing
    • Email Marketing
    • SMS Marketing
    • Events
    • Marketing Automation
    • Surveys
    Services
    • Project
    • Timesheets
    • Field Service
    • Helpdesk
    • Planning
    • Appointments
    Productivity
    • Discuss
    • Approvals
    • IoT
    • VoIP
    • Knowledge
    • WhatsApp
    Third party apps Odoo Studio Odoo Cloud Platform
  • Industries
    Retail
    • Book Store
    • Clothing Store
    • Furniture Store
    • Grocery Store
    • Hardware Store
    • Toy Store
    Food & Hospitality
    • Bar and Pub
    • Restaurant
    • Fast Food
    • Guest House
    • Beverage Distributor
    • Hotel
    Real Estate
    • Real Estate Agency
    • Architecture Firm
    • Construction
    • Estate Management
    • Gardening
    • Property Owner Association
    Consulting
    • Accounting Firm
    • Odoo Partner
    • Marketing Agency
    • Law firm
    • Talent Acquisition
    • Audit & Certification
    Manufacturing
    • Textile
    • Metal
    • Furnitures
    • Food
    • Brewery
    • Corporate Gifts
    Health & Fitness
    • Sports Club
    • Eyewear Store
    • Fitness Center
    • Wellness Practitioners
    • Pharmacy
    • Hair Salon
    Trades
    • Handyman
    • IT Hardware & Support
    • Solar Energy Systems
    • Shoe Maker
    • Cleaning Services
    • HVAC Services
    Others
    • Nonprofit Organization
    • Environmental Agency
    • Billboard Rental
    • Photography
    • Bike Leasing
    • Software Reseller
    Browse all Industries
  • Community
    Learn
    • Tutorials
    • Documentation
    • Certifications
    • Training
    • Blog
    • Podcast
    Empower Education
    • Education Program
    • Scale Up! Business Game
    • Visit Odoo
    Get the Software
    • Download
    • Compare Editions
    • Releases
    Collaborate
    • Github
    • Forum
    • Events
    • Translations
    • Become a Partner
    • Services for Partners
    • Register your Accounting Firm
    Get Services
    • Find a Partner
    • Find an Accountant
    • Meet an advisor
    • Implementation Services
    • Customer References
    • Support
    • Upgrades
    Github Youtube Twitter Linkedin Instagram Facebook Spotify
    +1 (650) 691-3277
    Get a demo
  • Pricing
  • Help

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

  • CRM
  • e-Commerce
  • Accounting
  • Inventory
  • PoS
  • Project
  • MRP
All apps
You need to be registered to interact with the community.
All Posts People Badges
Tags (View all)
odoo accounting v14 pos v15
About this forum
You need to be registered to interact with the community.
All Posts People Badges
Tags (View all)
odoo accounting v14 pos v15
About this forum
Help

OpenUpgrade from Odoo 9 to Odoo 10.

Subscribe

Get notified when there's activity on this post

This question has been flagged
migrationopenupgradeodoo9
1 Reply
3930 Views
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
Discard
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
Discard
M
Author

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
Author

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!

Sign up
Related Posts Replies Views Activity
Asset Management migration V12.0 to new versions
migration openupgrade
Avatar
0
May 23
3191
How to set up 2 OpenUpgrade Servers Solved
migration openupgrade
Avatar
1
Aug 19
5489
Error openupgrade hr module
migration openupgrade
Avatar
Avatar
1
Mar 15
6521
Database Migration error from Odoo 14 to 15(Community) using Openeupgrade.
migration openupgrade databasemigration
Avatar
Avatar
1
May 25
3147
Openupgrade - im trying to migrate odoo 14 to odoo 15 with openupgrade.
migration openupgrade OpenUpgrade
Avatar
Avatar
1
Apr 25
3374
Community
  • Tutorials
  • Documentation
  • Forum
Open Source
  • Download
  • Github
  • Runbot
  • Translations
Services
  • Odoo.sh Hosting
  • Support
  • Upgrade
  • Custom Developments
  • Education
  • Find an Accountant
  • Find a Partner
  • Become a Partner
About us
  • Our company
  • Brand Assets
  • Contact us
  • Jobs
  • Events
  • Podcast
  • Blog
  • Customers
  • Legal • Privacy
  • Security
الْعَرَبيّة 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