summaryrefslogtreecommitdiff
path: root/doc/reference
diff options
context:
space:
mode:
authorXavier Morel <xmo@odoo.com>2017-07-03 11:45:55 +0200
committerXavier Morel <xmo@odoo.com>2017-07-03 11:49:03 +0200
commit9a07a4599ce08bd1e3a74579a982fa3a58dc6cb2 (patch)
tree4608699ce4d61cf5680f9406776c6a1daf287298 /doc/reference
parent828c7c3da92970e3f0836a62f858ac2f5229947a (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')
-rw-r--r--doc/reference/cmdline.rst39
-rw-r--r--doc/reference/views.rst16
2 files changed, 48 insertions, 7 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
diff --git a/doc/reference/views.rst b/doc/reference/views.rst
index 322ddd5d33f..8b90ca00f44 100644
--- a/doc/reference/views.rst
+++ b/doc/reference/views.rst
@@ -991,12 +991,16 @@ calendar view are:
declares fields to aggregate or to use in kanban *logic*. If the field is
simply displayed in the calendar cards.
-On each field can have additional attributes:
- ``invisible``: use "True" to hide the value in the cards
- ``avatar_field``: only for x2many field, to display the avatar instead the
- display_name in the cards
- ``write_model`` and ``write_field``: you can add a filter and save the result
- in the defined model, the filter is added in the sidebar
+ Fields can have additional attributes:
+
+ ``invisible``
+ use "True" to hide the value in the cards
+ ``avatar_field``
+ only for x2many field, to display the avatar instead the display_name
+ in the cards
+ ``write_model`` and ``write_field``
+ you can add a filter and save the result in the defined model, the
+ filter is added in the sidebar
``templates``
defines the :ref:`reference/qweb` template ``calendar-box``. Cards definition