Install Odoo 11 and Odoo 12 on the same windows machine

Install Odoo 11 and Odoo 12 on the same windows machine

You can simply install both version this way:

Install Odoo 11 and PostgreSQL server via installer (exe) from nightly build :https://nightly.odoo.com
Choose a folder for installation (e.g.: C:\Odoo11)

Install Odoo 12 only (no PostgreSQL server) via installer (exe) from nightly build and choose a different folder for installation (e.g.: C:\Odoo12)

Create a new user login on PostgresSQL (e.g.: openpgpwd12) with the same right of default user for odoo11.

Edit these params in odoo.conf for Odoo12 (e.g:C:\odoo12\server\odoo.conf) this way:

db_user = openpg12
http_port = 8070
pg_path = C:\Odoo 11\PostgreSQL\bin (we leave this same as 11 ver)

In the same file maybe you have to set –db-filter and –db-name to match the correct db version of Odoo:

db_name = Test
dbfilter = Test

That’s it!

Now you can access Odoo 11 on localhost:8069 and Odoo 12 localhost:8070