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

How to run 2 versions of odoo (10 & 12) in one OS/environment?

Subscribe

Get notified when there's activity on this post

This question has been flagged
ubuntuodoo10odoo12
2 Replies
16270 Views
Avatar
Aurel Balanay

For development purposes: I have 2 community version odoo 10 and 12. Can it be run in the same OS Ubuntu 18.04? because now, I have 2 Virtual machines for odoo 10 and odoo 12. when i have a coding task in both versions I have to switch on other machines. is there any way to run both version on the same OS/Environment?

0
Avatar
Discard
Odoo Mates

https://www.youtube.com/watch?v=l4jpz_bDI0Q

Avatar
Niyas Raphy (Walnut Software Solutions)
Best Answer

Hi,

For this lot of blogs and writings are available in the internet. You can run the odoo 10 and odoo 12 in the same machine, for this you have to install both the python 2 and python 3. Odoo 10 is running in python 2.7 and odoo 12 is running in python 3. Once you install it, you have to create separate conf file for 10 and 12, as well as separate service.

Have a look at the below threads:

1. Install multiple Odoo instances on a single machine 

2. How to run odoo 10 and odoo 12 together in one system on ubuntu

Thanks

2
Avatar
Discard
Aurel Balanay
Author

Thanks, Niyas! In addition, do I have to create also a separate user for each version?

Niyas Raphy (Walnut Software Solutions)

It's up to you system user, for the postgres you can create separate users

Aurel Balanay
Author

Okay, will try on this. Thanks

Avatar
Cayprol
Best Answer

I would use docker for multi versions, so you can have odoo v10 and v12 by container.  

The beauty of this is even multiple odoo instances of the same version.  

I think postgresql v10 works fine for odoo v10 as well, so it goes like all odoo container depends on the same postgresql container.  

All instances use different ports, so you can interact with them in the browser.  

All instances share the same addon directory and as well a individual directory.

0
Avatar
Discard
Aurel Balanay
Author

Thanks, Justin . do you have an available tutorial for this?

Cayprol

I don't know any full guide specifically to odoo. Docker itself is a lot to learn and as a developer I think it's worth the time and effort.

For official odoo docker guide,

https://hub.docker.com/_/odoo/

For official odoo v12 Dockerfile repo

https://github.com/odoo/docker/blob/c6b79809f0772c419f681889b810ae4aaff8ec37/12.0/Dockerfile

For building image based on custom Dockerfile(modify Dockerfile from the official repo)

https://docs.docker.com/engine/reference/commandline/build/

You can google general docker CLI to get a deeper understanding. FYI, Docker on Windows requires Hyper-V, so it conflicts with VBox.

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
How to run odoo 10 and odoo 12 together in one system on ubuntu 16.04? Solved
odoo10 odoo12
Avatar
Avatar
Avatar
Avatar
9
Aug 23
14504
Odoo Installation Solved
ubuntu odoo12
Avatar
Avatar
Avatar
Avatar
3
Jan 24
33864
Restrict user to see only his shipments in Inventory
odoo10 odoo12
Avatar
Avatar
Avatar
3
Oct 20
4822
Certificate Error Solved
ubuntu odoo12
Avatar
Avatar
Avatar
4
Jan 24
8190
Issu in configuring odoo with VSCode
ubuntu odoo12 vscode
Avatar
Avatar
2
Jul 22
4960
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