summaryrefslogtreecommitdiff
path: root/doc/reference
diff options
context:
space:
mode:
authorChristophe Simonis <chs@odoo.com>2017-08-22 17:20:15 +0200
committerChristophe Simonis <chs@odoo.com>2017-08-22 17:20:15 +0200
commitd5f2a38b50ceb2fb9f5dcecb5eeaad3188555705 (patch)
tree5ad6be44887a1980ca1703f3fd80c38c10ddf1e5 /doc/reference
parente38de9dfa4c09f861253cb85643a47153d448e3c (diff)
parent6956ad54de52055910539118a34355f818e57c4a (diff)
[MERGE] forward port branch saas-14 up to 6956ad54de5
Diffstat (limited to 'doc/reference')
-rw-r--r--doc/reference/cmdline.rst6
-rw-r--r--doc/reference/views.rst8
2 files changed, 7 insertions, 7 deletions
diff --git a/doc/reference/cmdline.rst b/doc/reference/cmdline.rst
index c92a8b034a9..b8881e9a935 100644
--- a/doc/reference/cmdline.rst
+++ b/doc/reference/cmdline.rst
@@ -159,7 +159,11 @@ database
- ``%h`` is replaced by the whole hostname the request is made on.
- ``%d`` is replaced by the subdomain the request is made on, with the
exception of ``www`` (so domain ``odoo.com`` and ``www.odoo.com`` both
- match the database ``odoo``)
+ match the database ``odoo``).
+
+ These operations are case sensitive. Add option ``(?i)`` to match all
+ databases (so domain ``odoo.com`` using ``(?i)%d`` matches the database
+ ``Odoo``).
.. option:: --db-template <template>
diff --git a/doc/reference/views.rst b/doc/reference/views.rst
index 386989b75c6..5d760b611be 100644
--- a/doc/reference/views.rst
+++ b/doc/reference/views.rst
@@ -840,17 +840,13 @@ attributes:
Possible children of the view element are:
``field``
- declares fields to aggregate or to use in kanban *logic*. If the field is
- simply displayed in the kanban view, it does not need to be pre-declared.
+ declares fields to use in kanban *logic*. If the field is simply displayed in
+ the kanban view, it does not need to be pre-declared.
Possible attributes are:
``name`` (required)
the name of the field to fetch
- ``sum``, ``avg``, ``min``, ``max``, ``count``
- displays the corresponding aggregation at the top of a kanban column, the
- field's value is the label of the aggregation (a string). Only one
- aggregate operation per field is supported.
``templates``
defines a list of :ref:`reference/qweb` templates. Cards definition may be