Odoo Help

0

0
2 Answers
1
Avatar

Niyas Raphy

--Niyas Raphy--
24330
| 7 7 11
Wayanad, Índia
--Niyas Raphy--

Odoo Techno Functionalist

Feel free to connect :  niyasraphyk@gmail.com

Twitter:https://twitter.com/niyasraphy
LinkedIn: https://www.linkedin.com/in/niyasraphy/
FB:https://www.facebook.com/niyasraphy123

Happy to help :)

Niyas Raphy
05/06/19 23:04

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

3 Comments
Aurel Balanay
05/06/19 23:30

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

Niyas Raphy
05/06/19 23:44

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

Aurel Balanay
05/06/19 23:50

Okay, will try on this. Thanks

0
Justin Chen
05/06/19 23:12

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.

2 Comments
Aurel Balanay
05/06/19 23:31

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

Justin Chen
06/06/19 00:12

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.

Ask a Question
Keep Informed
1 follower(s)
About This Community

This platform is for beginners and experts willing to share their Odoo knowledge. It's not a forum to discuss ideas, but a knowledge base of questions and their answers.

Register
Odoo Training Center

Access to our eLearning platform and experience all Odoo Apps through learning videos, use cases and quizzes.

Test it now