Odoo Help


This community 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.


What is the full list of command line options for Odoo?

Ray Carnes
on 8/3/14, 2:01 PM 9,944 views

When you run the Odoo server, what command line options can you specify?


Ray Carnes

--Ray Carnes--
| 9 7 9
Greater Los Angeles, United States
--Ray Carnes--

Senior Odoo Analyst

OpenERP 6.1, 7.0 and Odoo 8.0, 9.0 (Since 2012)

Completed Functional and Technical Training.

Major Skills:

  • Needs Discovery and Requirements Analysis;

  • Function and Technical Specifications;

  • Project Planning;

  • Prototyping and Proof of concepts;

  • Data migration;

  • Configuration & Customization (UI and modules);

  • Integration - data, business logic and service levels;

  • Training and Knowledge transfer;

  • Go Live support;

  • Help desk;

  • Version Migration.

I have over 20 years of experience empowering and enabling users with enterprise information systems that make a real and measurable difference in their ability to proactively manage their businesses and organizations. 

Ray Carnes
On 8/3/14, 2:03 PM

You can find this information out by running the following command line option:



The full list of options (that are shown when using the --help option):



  --version             show program's version number and exit
  -h, --help            show this help message and exit

  Common options:
    -c CONFIG, --config=CONFIG
                        specify alternate config file
    -s, --save          save configuration to ~/.openerp_serverrc
    -i INIT, --init=INIT
                        install one or more modules (comma-separated list, use
                        "all" for all modules), requires -d
    -u UPDATE, --update=UPDATE
                        update one or more modules (comma-separated list, use
                        "all" for all modules). Requires -d.
                        disable loading demo data for modules to be installed
                        (comma-separated, use "all" for all modules). Requires
                        -d and -i. Default is none
    -P IMPORT_PARTIAL, --import-partial=IMPORT_PARTIAL
                        Use this for big data importation, if it crashes you
                        will be able to continue at the current state. Provide
                        a filename to store intermediate importation states.
    --pidfile=PIDFILE   file where the server pid will be stored
                        specify additional addons paths (separated by commas).
                        Comma-separated list of server-wide modules

  XML-RPC Configuration:
                        Specify the TCP IP address for the XML-RPC protocol.
                        The empty string binds to all interfaces.
                        specify the TCP port for the XML-RPC protocol
    --no-xmlrpc         disable the XML-RPC protocol
    --proxy-mode        Enable correct behavior when behind a reverse proxy

  XML-RPC Secure Configuration:
                        Specify the TCP IP address for the XML-RPC Secure
                        protocol. The empty string binds to all interfaces.
                        specify the TCP port for the XML-RPC Secure protocol
    --no-xmlrpcs        disable the XML-RPC Secure protocol
                        specify the certificate file for the SSL connection
                        specify the private key file for the SSL connection

  NET-RPC Configuration:
                        specify the TCP IP address for the NETRPC protocol
                        specify the TCP port for the NETRPC protocol
    --no-netrpc         disable the NETRPC protocol
    --netrpc            enable the NETRPC protocol

  Web interface Configuration:
    --db-filter=REGEXP  Filter listed database

  Static HTTP service:
                        enable static HTTP service for serving plain HTML
                        specify the directory containing your static HTML
                        files (e.g '/var/www/')
                        specify the URL root prefix where you want web
                        browsers to access your static HTML files (e.g '/')

  Testing Configuration:
                        Launch a YML test file.
                        If set, will save sample of all reports in this
    --test-enable       Enable YAML and unit tests.
    --test-commit       Commit database changes performed by YAML or XML

  Logging Configuration:
    --logfile=LOGFILE   file where the server log will be stored
    --no-logrotate      do not rotate the logfile
    --syslog            Send the log to the syslog server
                        setup a handler at LEVEL for a given PREFIX. An empty
                        PREFIX indicates the root logger. This option can be
                        repeated. Example: "openerp.orm:DEBUG" or
                        "werkzeug:CRITICAL" (default: ":INFO")
    --log-request       shortcut for --log-
    --log-response      shortcut for --log-
    --log-web           shortcut for --log-
    --log-sql           shortcut for --log-handler=openerp.sql_db:DEBUG
                        specify the level of the logging. Accepted values:
                        ['info', 'debug_rpc', 'warn', 'test', 'critical',
                        'debug_sql', 'error', 'debug', 'debug_rpc_answer',
                        'notset'] (deprecated option).

  SMTP Configuration:
                        specify the SMTP email address for sending email
    --smtp=SMTP_SERVER  specify the SMTP server for sending email
                        specify the SMTP port
    --smtp-ssl          if passed, SMTP connections will be encrypted with SSL
                        specify the SMTP username for sending email
                        specify the SMTP password for sending email

  Database related options:
    -d DB_NAME, --database=DB_NAME
                        specify the database name
    -r DB_USER, --db_user=DB_USER
                        specify the database user name
    -w DB_PASSWORD, --db_password=DB_PASSWORD
                        specify the database password
    --pg_path=PG_PATH   specify the pg executable path
    --db_host=DB_HOST   specify the database host
    --db_port=DB_PORT   specify the database port
                        specify the the maximum number of physical connections
                        to posgresql
                        specify a custom database template to create a new

  Internationalisation options:
    Use these options to translate OpenERP to another language.See i18n
    section of the user manual. Option '-d' is mandatory.Option '-l' is
    mandatory in case of importation

                        specifies the languages for the translations you want
                        to be loaded
    -l LANGUAGE, --language=LANGUAGE
                        specify the language of the translation file. Use it
                        with --i18n-export or --i18n-import
                        export all sentences to be translated to a CSV file, a
                        PO file or a TGZ archive and exit
                        import a CSV or a PO file with translations and exit.
                        The '-l' option is required.
    --i18n-overwrite    overwrites existing translation terms on updating a
                        module or importing a CSV or a PO file.
                        specify modules to export. Use in combination with

  Security-related options:
    --no-database-list  disable the ability to return the list of databases

  Advanced options:
    --debug             enable debug mode
    --stop-after-init   stop the server after its initialization
    -t TIMEZONE, --timezone=TIMEZONE
                        specify reference timezone for the server (e.g.
                        Force a limit on the maximum number of records kept in
                        the virtual osv_memory tables. The default is False,
                        which means no count-based limit.
                        Force a limit on the maximum age of records kept in
                        the virtual osv_memory tables. This is a decimal value
                        expressed in hours, and the default is 1 hour.
                        Maximum number of threads processing concurrently cron
                        jobs (default 2).
    --unaccent          Use the unaccent function provided by the database
                        when available.

  Multiprocessing options:
    --workers=WORKERS   Specify the number of workers, 0 disable prefork mode.
                        Maximum allowed virtual memory per worker, when
                        reached the worker be reset after the current request
                        (default 671088640 aka 640MB).
                        Maximum allowed virtual memory per worker, when
                        reached, any memory allocation will fail (default
                        805306368 aka 768MB).
                        Maximum allowed CPU time per request (default 60).
                        Maximum allowed Real time per request (default 120).
                        Maximum number of request to be processed per worker
                        (default 8192).

Your Answer

Please try to give a substantial answer. If you wanted to comment on the question or answer, just use the commenting tool. Please remember that you can always revise your answers - no need to answer the same question twice. Also, please don't forget to vote - it really helps to select the best questions and answers!

About This Community

This community is for professionals and enthusiasts of our products and services. Read Guidelines

Question tools

3 follower(s)


Asked: 8/3/14, 2:01 PM
Seen: 9944 times
Last updated: 5/4/16, 8:45 AM