Odoo Help


7 Answers

Axel Mendoza Cuba

--Axel Mendoza--
| 8 8 10
Camaguey, Cuba
--Axel Mendoza--

DevOps - Full stack - Software Architect - Developer - Technology Integrator

I could help you to develop anything and solve complex problems based on technologies, integrations and tricky stuffs mostly in Python with OpenERP/Odoo, Zato, Django and many others frameworks programming languages and technologies.

I offers consulting services to anyone with an unanswered questions or needs for customizations. Think about it, maybe it's better to have an expert to solve your issues and projects than having a full-time employee trying to understand what to do and how

Reach me at aekroft@gmail.com

Axel Mendoza Cuba
7/17/15, 9:47 PM

I installed in this way.

#download and uncompress Odoo, change YYYYMMdd to match the name of your extracted Odoo folder

mkdir /opt/odoo
cd /opt/odoo
wget https://nightly.odoo.com/master/nightly/src/odoo_9.0alpha1.latest.tar.gz
tar xvf odoo_9.0alpha1.latest.tar.gz
mv odoo-9.0alpha1-YYYYMMdd server

#install python-virtualenv if you don't have it, I use Ubuntu

apt-get install python-virtualenv -y

#install this libraries needed for correctly install the requirements

apt-get install libxml2-dev libxslt1-dev libldap2-dev libsasl2-dev libssl-dev -y
apt-get install postgresql-server-dev-X.Y

#create a virtualenv

mkdir -p /opt/virtualenv/odoo-9.0
virtualenv /opt/virtualenv/odoo-9.0

#activate the virtualenv

source /opt/virtualenv/odoo-9.0/bin/activate

#install Odoo v9 requirements

pip install -r /opt/odoo/server/requirements.txt


pip install flanker
pip install ofxparser

#deactivate the virtualenv


#install nodejs and require modules

apt-get install nodejs npm
ln -s /usr/bin/nodejs /usr/bin/node
npm install -g less
npm install -g less-plugin-clean-css

That's all I think. To run Odoo v9 using the virtualenv you have 2 options

1- Activate the virtualenv like before and run:

python /opt/odoo/server/odoo.py --config /path/to/config

2- Directly use the python in the virtualenv

/opt/virtualenv/odoo-9.0/bin/python /opt/odoo/server/odoo.py --config /path/to/config

The config file for Odoo is where you put Odoo options such as database conections options or add others addons modules to the addons path or specify other xmlrpc_port to run Odoo. Could be something like this:

admin_passwd = admin
db_host = localhost
db_port = 5432
db_user = odoo
db_password = odoo
xmlrpc_port = 8069
addons_path = /optodoo/server/openerp/addons,/opt/odoo/extra/addons
email_from = aekroft@gmail.com

In the addons_path option you could put a comma separated paths to addons folders

Hope this helps


Akhil P Sivan India

--Akhil P Sivan--

| 6 5 9
Kochi, India
--Akhil P Sivan--

Odoo Developer

email-id : akhilpsivan01@gmail.com

Akhil P Sivan India
10/7/15, 7:21 AM

You may check this link, might be useful:


<==== Updated answer ===>

Hi Dieter, the above link was working when I was posting the answer first time. Anyway the installation is similar to that of v8, only difference is some additional python libraries, which you can easily install. There is a wonderful tutorial on v8 installation, you can just refer that:


I am just extracting the major steps to set odoo 9 ready for development environment.

Step 1: Install and configure the database server, PostgreSQL

sudo apt-get install postgresql

Then configure the Odoo user on postgres:

First change to the postgres user so we have the necessary privileges to configure the database.

sudo su - postgres

Now create a new database user. This is so Odoo has access rights to connect to PostgreSQL and to create and drop databases. Remember what your choice of password is here; you will need it later on:

createuser --createdb --username postgres --no-createrole --no-superuser --pwprompt systemusername

Enter password for new role: ********

Enter it again: ********

You put the username of current logged in user.

Finally exit from the postgres user account:


Step 2: Install the system library as odoo 9 depends on node-less:

sudp apt-get install python-pip python-dev libevent-dev gcc libxml2-dev libxslt-dev node-less libldap2-dev libssl-dev

Step 3: Install the necessary Python libraries for the server.

The following command will install all the required libraries for Odoo 9.

cd /tmp && wget https://raw.githubusercontent.com/odoo/odoo/9.0/requirements.txt && sudo pip install -r requirements.txt

On the above step, if you get an error in between, some dependent library might be missing, so just install that missing library shown and redo the above step. (for eg: sudo apt-get install python-ldap)

Step 4: Download odoo 9

The last step is to download odoo 9 (branch 9.0) .zip file from: https://github.com/odoo/odoo

Extract odoo-9.0.zip file, then in commandline, cd to the extracted odoo-9.0 directory and run odoo.py as follows:

python odoo.py --addons-path addons

step 5: http://localhost:8069/web

Run odoo 9

The above steps are minimal ones to run odoo 9 in development environment. For setting up in production, you can refer the above detailed tutorial link of theopenresourcerer. You just need to change the steps that download odoo file and libraries, other things you can follow the same.

If you have any issues with the installation, I can help you to resolve. (akhilpsivan@outlook.com)

Hope this helps!

1 Comment
Dieter Huelskamp Mexico
10/7/15, 9:16 AM

the link is down, ....cpu exceeded...

Dieter Huelskamp Mexico
7/17/15, 10:11 PM

I did that, but could not finish, here my observations following your guide:

1. once you wrote by accident 2 times apt-get install (that was easiest ;-).

2. pip install -r /opt/odoo/server/requirements.txt

throws: Error: You need to install postgresql-server-dev-X.Y for building a server-side extension or libpq-dev for building a client-side application.

I ignored and moved on

3. In lst step, what config file you mean? Howto locate it?

4. You missed to mention howto fire installation and what would be standard admin, since there was no step to put user or pass

Thanks for your help!

Axel Mendoza Cuba
7/18/15, 8:29 PM

Let's fix it

Axel Mendoza Cuba
7/18/15, 8:35 PM

The way to fire the installation ... I think that you mean how to use it. Just launch your browser and connect to the xmlrpc_port option value(default to 8069). For example: http://localhost:8069 At the beginning you should create a new Odoo database. This is the direct link to create and manage database: http://localhost:8069/web/database/manager

dieter huelskamp
7/19/15, 10:41 PM
That would be awesome, I remembered to fire instalation by using port :8069 anyhow installation did not get there. 

On Sat, Jul 18, 2015 at 7:29 PM, Axel Mendoza <portaltemplate12973@mail.odoo.com> wrote:

Let's fix it

Axel Mendoza
Sent by Odoo Inc. using Odoo access your messages

Dieter Huelskamp

Visita nuestra página / Visit our website

Síguenos / Follow us


Skype: exidon.com
T:  +52   55 63103042 

Aviso de confidencialidad: Este correo electrónico, incluyendo en su caso, los archivos adjuntos al mismo, pueden contener información de carácter confidencial y/o privilegiada, y se envían a la atención única y exclusivamente de la persona y/o entidad a quien va dirigido. La copia, revisión, uso, revelación y/o distribución de dicha información confidencial sin la autorización por escrito de Exidon está prohibida. Si usted no es el destinatario a quien se dirige el presente correo, favor de contactar al remitente respondiendo al presente correo y eliminar el correo original incluyendo sus archivos, así como cualesquiera copia del mismo. Mediante la recepción del presente correo usted reconoce y acepta que en caso de incumplimiento de su parte y/o de sus representantes a los términos antes mencionados, Exidon tendrá derecho a los daños y perjuicios que esto le cause.
Axel Mendoza Cuba
7/21/15, 4:03 PM

You could change the value of xmlrpc_port in the config file or install a reverse proxy like nginx in front of Odoo

Ask a Question
Keep Informed
4 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.

Odoo Training Center

Access to our E-learning platform and experience all Odoo Apps through learning videos, exercises and Quizz.

Test it now