diff options
| author | Xavier Morel <xmo@odoo.com> | 2017-07-03 11:45:55 +0200 |
|---|---|---|
| committer | Xavier Morel <xmo@odoo.com> | 2017-07-03 11:49:03 +0200 |
| commit | 9a07a4599ce08bd1e3a74579a982fa3a58dc6cb2 (patch) | |
| tree | 4608699ce4d61cf5680f9406776c6a1daf287298 /doc/reference/cmdline.rst | |
| parent | 828c7c3da92970e3f0836a62f858ac2f5229947a (diff) | |
[FIX] doc warnings
* add Sphinx 1.6 compatibility (use app.set_translator when
available as in that case programmatically setting
html_translator_class is broken)
* fix a bunch of code block lexers to avoid warnings & get better
coloration
* add a few options which were referred to without being actually
defined
* fix some rST formatting
Diffstat (limited to 'doc/reference/cmdline.rst')
| -rw-r--r-- | doc/reference/cmdline.rst | 39 |
1 files changed, 38 insertions, 1 deletions
diff --git a/doc/reference/cmdline.rst b/doc/reference/cmdline.rst index c92a8b034a9..c8b1954f1a9 100644 --- a/doc/reference/cmdline.rst +++ b/doc/reference/cmdline.rst @@ -166,6 +166,10 @@ database when creating new databases from the database-management screens, use the specified `template database`_. Defaults to ``template1``. +.. option:: --no-database-list + + Suppresses the ability to list databases available on the system + built-in HTTP ------------- @@ -290,6 +294,38 @@ customize the amount of logging output In case of conflict between :option:`--log-level` and :option:`--log-handler`, the latter is used +translations +------------ + +.. option:: --i18n-import + +.. option:: --i18n-export + +emails +------ + +.. option:: --email-from <address> + + Email address used as <FROM> when Odoo needs to send mails + +.. option:: --smtp <server> + + Address of the SMTP server to connect to in order to send mails + +.. option:: --smtp-port <port> + +.. option:: --smtp-ssl + + If set, odoo should use SSL/STARTSSL SMTP connections + +.. option:: --smtp-user <name> + + Username to connect to the SMTP server + +.. option:: --smtp-password <password> + + Password to connect to the SMTP server + .. _reference/cmdline/scaffold: @@ -325,6 +361,8 @@ Scaffolding is available via the :command:`odoo-bin scaffold` subcommand. Configuration file ================== +.. program:: odoo-bin + Most of the command-line options can also be specified via a configuration file. Most of the time, they use similar names with the prefix ``-`` removed and other ``-`` are replaced by ``_`` e.g. :option:`--db-template` becomes @@ -339,7 +377,6 @@ Some conversions don't match the pattern: ``log_handler``, use that directly in the configuration file * :option:`--smtp` is stored as ``smtp_server`` * :option:`--database` is stored as ``db_name`` -* :option:`--debug` is stored as ``debug_mode`` (a boolean) * :option:`--i18n-import` and :option:`--i18n-export` aren't available at all from configuration files |
