Install Odoo 11 Windows 10

Odoo uses PostgreSQL as database management system. Download and install PostgreSQL (supported version: 10.0 and later). By default, the only user is postgres but Odoo forbids connecting as postgres, so you need to create a new PostgreSQL user. Add PostgreSQL’s bin directory (by default: C:Program FilesPostgreSQLbin) to your PATH.

  • Install Python 2.7 (*Make sure you add Python directory to Path)
  • Download Postgresql
  • Open Command Prompt as Administrator and navigate to Installation file Location and run following Command
    postgresql-9.x.x-x-windows.exe –superaccount “odoo” –superpassword “odoo”

    * This creates a postgresql superuser odoo with password as odoo

  • Download Latest Version of Odoo 9 from Github.
  • Installing Python Dependencies.
    Install psycopg using the installer here http://www.stickpeople.com/projects/python/win-psycopg/
    Then edit the requirements.txt file in your Odoo directory:
    • remove psycopg2 as you already have it.
    • remove the optional python-ldap, gevent and psutil because they require compilation.
    • add pypiwin32 because it’s needed under windows.

    Open Command Prompt as Administrator in your Odoo Directory and run following command
    pip install -r requirements.txt

  • Install NodeJS and reboot system to update PATH.
  • Run command
  • Install Wkhtmltopdf to enable printing PDF files.Add Path to Environment Variables->Path.
  • You have successfully completed setting up Odoo 9.To run odoo instance use following command.

    odoo.py -r odoo -w odoo

There are mutliple ways to install Odoo, or not install it at all, dependingon the intended use case.

This documents attempts to describe most of the installation options.

Demo
The simplest 'installation', only suitable for getting a quick feel forOdoo or trying something out
SaaS

Trivial to start with and fully managed and migrated by Odoo S.A., can beused to both test Odoo and use it for your business, prevents complexcustomization (i.e. incompatible with custom modules or the Odoo Apps Store).

Can be used for both testing Odoo and long-term production use.

Install Odoo 11 Windows 10 Download

Packaged installers

Simple to get started, allows more flexibility in hosting and deployingthe system and greater control over where data is stored. The maintenanceburden is shifted to the user.

Suitable for testing Odoo, developing modules and can be used forlong-term production use with additional deployment and maintenance work.

Source Install
Install odoo 11 windows 10 download

Harder to get started than Packaged installers, provideseven greater flexibility: packaged installers don't generally allowmultiple running Odoo versions on the same system, and don't provide easysource access to Odoo itself.

Good for developing modules, can be used as base for productiondeployment.

The source code can be obtained by downloading a tarball or using git.Using git is strongly advised, as it makes it easier to update, switchbetween multiple versions (including the current development version)or contribute.

docker image
If you usually use docker for development or deployment, an officialdocker base image is available, see the image's help document for moreinformation.

Editions

There are two different Editions of Odoo: the Community and Enterprise versions.Using the Enterprise version is possible on our SaaS and accessing the code isrestricted to Enterprise customers and partners. The Community version is freelyavailable to anyone.

If you already use the Community version and wish to upgrade to Enterprise, pleaserefer to From Community to Enterprise (except for Source Install).

If you wish to access the Enterprise installers/source code, you can:

  • Go to the Download page and log in with your customer credentials
  • Download the source on GitHub using git_(available to partners only)

Note

If you do not have access to our Enterprise repository, you can requestit be e-mailing your sales representative or our online support withyour subscription number and GitHub username. (available to partners only)

Warning

Enterprise deb and rpm packages do not have repositories, so automaticupdate will not work. Reinstalling the latest package version will be neededto update manually an installation.

Demo

To simply get a quick idea of Odoo, demo instances are available. They areshared instances which only live for a few hours, and can be used to browsearound and try things out with no commitment.

Demo instances require no local installation, just a web browser.

SaaS

Odoo's SaaS provides private instances and starts out free. It can be used todiscover and test Odoo and do non-code customizations without having toinstall it locally.

Like demo instances, SaaS instances require no local installation, a webbrowser is sufficient.

Packaged installers

Odoo provides packaged installers for Windows, deb-based distributions(Debian, Ubuntu, …) and RPM-based distributions (Fedora, CentOS, RHEL, …) forboth the Community and Enterprise versions.

These packages automatically set up all dependencies (for the Community version),but may be difficult to keep up-to-date.

Official Community packages with all relevant dependency requirements areavailable on our nightly server. Both Communtiy and Enterprise packages canbe downloaded from our Download page (you must to be logged in as a payingcustomer or partner to download the Enterprise packages).

Windows

  • Download the installer from our nightly server (Community only)or the Windows installer from the Download page (any edition)
  • Run the downloaded file

    Warning

    on Windows 8, you may see a warning titled 'Windows protectedyour PC'. Click More Info thenRun anyway

  • Accept the UAC prompt
  • Go through the various installation steps

Odoo will automatically be started at the end of the installation.

Configuration

Install Odoo 11 Windows 10

The configuration file can be found at%PROGRAMFILES%Odoo 10.0-idserverodoo.conf.

The configuration file can be edited to connect to a remote Postgresql, editfile locations or set a dbfilter.

To reload the configuration file, restart the Odoo service viaServices ‣ odoo server.

Deb

Community

To install Odoo 10.0 Community on Debian-based distribution, execute the followingcommands as root:

You can then use the usual apt-get upgrade command to keep your installation up-to-date.

Enterprise

For Odoo 10.0 Enterprise, get the package from the Download page. You can thenuse gdebi:

Or dpkg (handles less dependencies automatically):

This will install Odoo as a service, create the necessary PostgreSQL userand automatically start the server.

Danger

to print PDF reports, you must install wkhtmltopdf yourself:the version of wkhtmltopdf available in Debian repositories doesnot support headers and footers so it is not used as a direct dependency.The recommended version is 0.12.5 and is available onthe wkhtmltopdf download page, in the archive section. Previouslyrecommended version 0.12.1 is a good alternative.More details on the various versions and their respective quirks can befound in our wiki.

Configuration

The configuration file can be found at/etc/odoo/odoo.conf

When the configuration file is edited, Odoo must be restarted usingservice:

RPM

Warning

with RHEL-based distributions (RHEL, CentOS, Scientific Linux), EPEL mustbe added to the distribution's repositories for all of Odoo'sdependencies to be available. For CentOS:

For other RHEL-based distribution, see the EPEL documentation.

Community

Execute the following commands to install Odoo 10.0 Community on your server:

Enterprise

For Odoo 10.0 Enterprise, get the package from the Download page. Then run:

Danger

to print PDF reports, you must install wkhtmltopdf yourself:the version of wkhtmltopdf available in Fedora/CentOSrepositories does not support headers and footers so it can notbe installed automatically. Use the version available onthe wkhtmltopdf download page.

Configuration

The configuration file can be found at/etc/odoo/odoo.conf

When the configuration file is edited, Odoo must be restarted via SystemD:

Source Install

Download odoo 10

The source 'installation' really is about not installing Odoo, and runningit directly from source instead.

This can be more convenient for module developers as the Odoo source ismore easily accessible than using packaged installation (for information orto build this documentation and have it available offline).

It also makes starting and stopping Odoo more flexible and explicit than theservices set up by the packaged installations, and allows overriding settingsusing command-line parameters without needing toedit a configuration file.

Finally it provides greater control over the system's set up, and allows moreeasily keeping (and running) multiple versions of Odoo side-by-side.

Community

There are two way to get the odoo source source zip or git.

  • Odoo zip can be downloaded from our nightly server or our Download page,the zip file then needs to be uncompressed to use its content
  • git allows simpler update and easier switching between different versionsof Odoo. It also simplifies maintaining non-module patches andcontributions. The primary drawback of git is that it is significantlylarger than a tarball as it contains the entire history of the Odoo project.

    The git repository is https://github.com/odoo/odoo.git for the Communityversion.

    Downloading it requires a git client(which may be available via your distribution on linux) and can be performedusing the following command:

Enterprise

If you have access to the Enterprise repository (see Editionsif you wish to get access), you can use this command to fetch the addons:

If you use git, you must modify the --addons-pathparameter of your launch command (init.d, custom script, configuration file,etc.). The Enterprise addons folder should be included before the defaultaddons folder.

For example:

Warning

The Enterprise git repository does not contain the full Odoosource code. It is only a collection of extra add-ons. The main servercode is in the Community version. Running the Enterprise version actuallymeans running the server from the Community version with the addons-path optionset to the folder with the Enterprise version.

You need to clone both the Community and Enterprise repository to have a workingOdoo installation. The Download page contains the entire source code but is notupdateable as easily.

Installing dependencies

Source installation requires manually installing dependencies:

  • Python 2.7.

    • on Linux and OS X, included by default
    • on Windows, use the official Python 2.7.9 installer.

      Warning

      select 'add python.exe to Path' during installation, andreboot afterwards to ensure the PATH is updated

      Note

      if Python is already installed, make sure it is 2.7.9, previousversions are less convenient and 3.x versions are not compatiblewith Odoo

  • PostgreSQL, to use a local database

    After installation you will need to create a postgres user: by default theonly user is postgres, and Odoo forbids connecting as postgres.

    • on Linux, use your distribution's package, then create a postgres usernamed like your login:

      Because the role login is the same as your unix login unix sockets can beuse without a password.

    • on OS X, postgres.app is the simplest way toget started, then create a postgres user as on Linux
    • on Windows, use PostgreSQL for windows then

      • add PostgreSQL's bin directory (default:C:Program FilesPostgreSQL9.4bin) to your PATH
      • create a postgres user with a password using the pg admin gui: openpgAdminIII, double-click the server to create a connection, selectEdit ‣ New Object ‣ New Login Role, enter theusename in the Role Name field (e.g. odoo), then openthe Definition tab and enter the password (e.g. odoo),then click OK.

        The user and password must be passed to Odoo using either the-w and -r options orthe configuration file

  • Python dependencies listed in the requirements.txt file.

    • on Linux, python dependencies may be installable with the system's packagemanager or using pip.

      For libraries using native code (Pillow, lxml, greenlet, gevent, psycopg2,ldap) it may be necessary to install development tools and nativedependencies before pip is able to install the dependencies themselves.These are available in -dev or -devel packages for Python,Postgres, libxml2, libxslt, libevent, libsasl2 and libldap2. Then the Pythondependecies can themselves be installed:

    • on OS X, you will need to install the Command Line Tools(xcode-select --install) then download and install a package managerof your choice (homebrew, macports) to install non-Python dependencies.pip can then be used to install the Python dependencies as on Linux:

    • on Windows you need to install some of the dependencies manually, tweak therequirements.txt file, then run pip to install the remaning ones.

      Install psycopg using the installer herehttp://www.stickpeople.com/projects/python/win-psycopg/

      Then edit the requirements.txt file:

      • remove psycopg2 as you already have it.
      • remove the optional python-ldap, gevent and psutil becausethey require compilation.
      • add pypiwin32 because it's needed under windows.

      Then use pip to install the dependencies using the followingcommand from a cmd.exe prompt (replace YourOdooPath by the actualpath where you downloaded Odoo):

  • Less CSS via nodejs

    • on Linux, use your distribution's package manager to install nodejs andnpm.

      Warning

      In debian wheezy and Ubuntu 13.10 and before you need to installnodejs manually:

      In later debian (>jessie) and ubuntu (>14.04) you may need to add asymlink as npm packages call node but debian calls the binarynodejs

      Once npm is installed, use it to install less:

    • on OS X, install nodejs via your preferred package manager (homebrew,macports) then install less:

    • on Windows, install nodejs, reboot (toupdate the PATH) and install less:

Running Odoo

Once all dependencies are set up, Odoo can be launched by running odoo-bin.

Warning

For the Enterprise edition, you must specify the enterpriseaddons folder when starting your server. You can do so by providing the pathto your enterprise folder in the addons-path parameter. Pleasenote that the enterprise folder must come before the defaultaddons folder in the list for the addons to be loaded correctly.

Install Odoo 11 Windows 10 Free

Configuration can be provided either throughcommand-line arguments or through aconfiguration file.

Common necessary configurations are:

  • PostgreSQL host, port, user and password.

    Odoo has no defaults beyondpsycopg2's defaults: connectsover a UNIX socket on port 5432 with the current user and no password. Bydefault this should work on Linux and OS X, but it will not work onwindows as it does not support UNIX sockets.

  • Custom addons path beyond the defaults, to load your own modules

Under Windows a typical way to execute odoo would be:

Where odoo, odoo are the postgresql login and password,../mymodules a directory with additional addons and mydb the defaultdb to serve on localhost:8069

Under Unix a typical way to execute odoo would be:

Where ../mymodules is a directory with additional addons and mydb thedefault db to serve on localhost:8069