Skip to main content

How to create multiple services of Odoo(above version 10) on windows

In this post, I will explain how we can create multiple Odoo services in a Windows Server.

Step 1

First, you need to get the executable file from the Odoo link mentioned below Or open the already existing executable file.

 https://www.odoo.com/page/download 


If you are running the executable file for the second time uncheck Postgres installation since it is already done in the first install.

Keep a note of your installation path.


Step 2

Go to the below path where "Odoo 12.0 Test" is the directory your new installation files belong to:

C:\Program Files (x86)\Odoo 12.0 Test\nssm\win64\


Open the command prompt  and type the below command:

nssm install odoo-server-TEST

 

A User Interface similar to the image below will popup, you have to fill the three empty fields with values I mentioned below






Step 3


Path : C:\Program Files (x86)\Odoo 12.0 Test\Python\python.exe

Startup directory : C:\Program Files (x86)\Odoo 12.0 Test\server

Arguments : "C:\Program Files (x86)\Odoo 12.0 Test\server\odoo-bin"


The service will be created in the windows service section, now you can stop, start or restart the Odoo service easily.
 

As simple as that

Comments

Popular posts from this blog

Odoo Tips

//create a module sudo odoo scaffold <module_name> Run odoo in server from Command line Run under root user permission python3.6 ./odoo-bin --addons=~/odoo/odoo/addons,~/odoo/pranav/<custom module>,~/odoo/accounting_reports --xmlrpc-port=8085 -d <database name> Run under different user with different DB server(Eg:Odoo) First switch to odoo user: sudo su - odoo -s /bin/bash Run the script ./odoo-bin --addons-path=/opt/odoo/addons,/opt/test_addons --db_host=<ip address> --db_port=<port> --db_password=<password> --database=<db name> -u <user name> --db-filter=<db name> --xmlrpc-port=1122 Nohup-to run a service without writing service file :- nohup python3.6 ./odoo-bin --addons=~/odoo/odoo/addons,~/odoo/pranav/<custom module>,~/odoo/accounting_reports --xmlrpc-port=8085 -d <database name> & ODOO QWEB Datetime operation ------------------------------------ <span  t-set...

HOW TO VERIFY YOUR BLOG

Since it is not possible to upload a page in blog we need alternative method to verify your blog, using meta tag. For that go to google web master tool https://www.google.com/webmasters/tools/ and do the following steps. 1,Click the "Add a property" button on the Webmaster Tools Home page. 2.Enter your blog's URL (for example, programmersbasics.blogspot.com) and click the "add" button to go to the Manage verification page. 3.Select the "Meta tag" verification method and copy the meta tag provided.Just copy aand paste it some where for future use.This tag is permanat for one site. 4,Login to your bloggers account and select the blog. 5,Select the template tag in left, it is just above settings. 6,Click 'Edit HTML' button below Live on blog section. 7,Add the meta tag just below <head> and save. 8,Then goto webmasters page and click verify. Now you are verified.You can now access webmaster features.