summaryrefslogtreecommitdiff
path: root/doc/reference
diff options
context:
space:
mode:
authorChristophe Simonis <chs@odoo.com>2018-03-09 16:25:58 +0100
committerChristophe Simonis <chs@odoo.com>2018-03-09 16:25:58 +0100
commit0f57bdba72b592ca097d4cd3da99a75883d8c623 (patch)
tree94eef0c9aaf885c7f717bab5e468ca72b59a219d /doc/reference
parent35f0797002e44ce5673e9fab63710d2764329694 (diff)
parent42659dc70c2b9b124e7e4fdc0449f660c3de5c76 (diff)
[MERGE] forward port branch saas-11.2 up to 42659dc70c2
Diffstat (limited to 'doc/reference')
-rw-r--r--doc/reference/cmdline.rst49
-rw-r--r--doc/reference/views.rst3
2 files changed, 49 insertions, 3 deletions
diff --git a/doc/reference/cmdline.rst b/doc/reference/cmdline.rst
index 2f1626f6dac..4171f12c5e1 100644
--- a/doc/reference/cmdline.rst
+++ b/doc/reference/cmdline.rst
@@ -15,7 +15,9 @@ Running the server
.. option:: -d <database>, --database <database>
- database used when installing or updating modules.
+ database(s) used when installing or updating modules.
+ Providing a comma-separated list restrict access to databases provided in
+ list.
.. option:: -i <modules>, --init <modules>
@@ -165,6 +167,44 @@ database
databases (so domain ``odoo.com`` using ``(?i)%d`` matches the database
``Odoo``).
+ Since version 11, it's also possible to restrict access to a given database
+ listen by using the --database parameter and specifying a comma-separated
+ list of databases
+
+ When combining the two parameters, db-filter superseed the comma-separated
+ database list for restricting database list, while the comma-separated list
+ is used for performing requested operations like upgrade of modules.
+
+ .. code-block:: bash
+
+ odoo-bin --db-filter ^11.*$
+
+ Restrict access to databases whose name starts with 11
+
+ .. code-block:: bash
+
+ odoo-bin --database 11firstdatabase,11seconddatabase
+
+ Restrict access to only two databases, 11firstdatabase and 11seconddatabase
+
+ .. code-block:: bash
+
+ odoo-bin --database 11firstdatabase,11seconddatabase -u base
+
+ Restrict access to only two databases, 11firstdatabase and 11seconddatabase,
+ and update base module on one database: 11firstdatabase
+ If database 11seconddatabase doesn't exist, the database is created and base modules
+ is installed
+
+ .. code-block:: bash
+
+ odoo-bin --db-filter ^11.*$ --database 11firstdatabase,11seconddatabase -u base
+
+ Restrict access to databases whose name starts with 11,
+ and update base module on one database: 11firstdatabase
+ If database 11seconddatabase doesn't exist, the database is created and base modules
+ is installed
+
.. option:: --db-template <template>
when creating new databases from the database-management screens, use the
@@ -173,6 +213,13 @@ database
.. option:: --no-database-list
Suppresses the ability to list databases available on the system
+
+.. option:: --db_sslmode
+
+ Control the SSL security of the connection between Odoo and PostgreSQL.
+ Value should bve one of 'disable', 'allow', 'prefer', 'require',
+ 'verify-ca' or 'verify-full'
+ Default value is 'prefer'
built-in HTTP
-------------
diff --git a/doc/reference/views.rst b/doc/reference/views.rst
index 7337f861c9f..5920b1ff7c6 100644
--- a/doc/reference/views.rst
+++ b/doc/reference/views.rst
@@ -230,8 +230,7 @@ Possible children elements of the list view are:
context of the current row's record, if ``True`` the corresponding
attribute is set on the cell.
- Possible attributes are ``invisible`` (hides the button) and
- ``readonly`` (disables the button but still shows it)
+ Possible attribute is ``invisible`` (hides the button).
``states``
shorthand for ``invisible`` ``attrs``: a list of states, comma separated,
requires that the model has a ``state`` field and that it is