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

Migration Odoo V11 --> V12 (CE)

Subscribe

Get notified when there's activity on this post

This question has been flagged
2 Replies
4988 Views
Avatar
Anatole

Hello, I'm using version 11 of odoo CE on a docker environment. 

https://github.com/OCA/OpenUpgrade
I would like to migrate this odoo database to the new version: odoo v12
many questions have been asked on the subject but I can't find clear enough answers to my taste. I would like to know how to carry out this migration, looking a little bit we always come back to openUpgrade: 

https://github.com/OCA/OpenUpgrade
and its documentation: https://doc.therp.nl/openupgrade/.
I must admit that it doesn't help me much, I can't find a clear explanation of how to use this script... 
In this question we find a clearer answer proposed by aktiv software: https://www.odoo.com/fr_FR/forum/aide-1/question/how-to-do-odoo-database-migration-by-using-https-github-com-oca-openupgrade-122800.
But there are no examples, moreover when I come across the documentaton I see a message from the author that the script does not allow to migrate to versions higher than 9?? (https://doc.therp.nl/openupgrade/migrate.py.html.) The author also recommends another method that I don't know how to use either... in short I'm lost in all of this my questions are as follows:

- Does OpenUpgrade still work for an odoo 11 to odoo 12 migration?
- Is there another simpler method? 
- Are there any instructions / a clear and very complete tutorial showing all the steps to perform for a migration? (A video would be the best but a post with images and code examples will do very well)
- If this does not exist, could someone try to explain as well as possible the steps to be taken to carry out this migration?

Thank you for the time you will take to answer me.


0
Avatar
Discard
Avatar
Jainesh Shah(Aktiv Software)
Best Answer

hello @Anatole,

please refer the below link it will help you out for sure :-

https://www.odoo.com/forum/help-1/question/how-to-do-odoo-database-migration-by-using-https-github-com-oca-openupgrade-122800

Regards,





Email: odoo@aktivsoftware.com

Skype: kalpeshmaheshwari

   ​


0
Avatar
Discard
Avatar
Anatole
Author Best Answer

Thank you for taking the time to answer Aktiv Software, 

I can't comment so I'll answer you here:
I have already seen this link (it is in the description of my question) and it raises some of my questions:
- Does OpenUpgrade still work for an odoo 11 to odoo 12 migration?
- Is there another simpler method?
The explanations are the best I have been able to find so far but they are not enough for me.

0
Avatar
Discard
Jainesh Shah(Aktiv Software)

Hello @anatole,

Yes Openupgrade still work for Odoo 11 to Odoo 12 migration. But odoo 12 database migration script is still in progress. And it require some additional Postgres Queries after running migration script.

We didn't find any simpler method than openupgrade. As it is provided by OCA and include each aspect.

Regards,

Aktiv software.

Anatole
Author

Thank you for your answers to those 2 questions !

Regards,

Anatole

Anatole
Author

it meets my expectations on these two questions but not on the others, thank you anyway.

Anatole
Author

Hello again Aktiv Software, I come back to you because I'm trying to put in place the steps you describe in this directory: https://www.odoo.com/forum/help-1/question/how-to-do-odoo-database-migration-by-using-https-github-com-oca-openupgrade-122800

You say that openupgrade still works for version 11 to version 12 of odoo. In this case I guess it has changed slightly:

"2) python migrate.py --config=[your openerp.conf] --database=[your database] --run-migrations=[your migrations]

--config = v9 config file(in which version you want to migrate)

--database = database which we would like to migrate (installed database)

--run-migrations = version in which you would like to migration"

- For the --config option : In the old versions the config file was "openerp-server" if I am not mistaken. However, this file no longer exists in version 12 of openupgrade (or at least it is not located in the same place / is not called the same)

- For the option --run-migrations: It is just necessary to specify the version ? so only 12 in my case?

If you have the possibility, can you give you an example of this command for migration 11 to 12?

Thank you very much for the time you will take to answer these questions.

Regards,

Anatole

Anatole
Author

Um I'm sorry I thought the config file referred to a file from the openupgrade directory, it's actually the odoo conf file on my client machine.

However, I remain open to the example.

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
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