mirror of
https://github.com/odoo/documentation.git
synced 2025-12-12 07:29:27 +07:00
[IMP] reference/cli: db-filter for Web UI
The odoo-bin help for the db-filter says:
`Regular expressions for filtering available databases for Web UI.`
However, the current documentation does not mention that the filters
only affect the Web UI, and not the cron workers.
closes odoo/documentation#15379
X-original-commit: fbc787474f
Signed-off-by: Sylvain Francis (syf) <syf+odoo@odoo.com>
This commit is contained in:
@@ -240,7 +240,7 @@ Database
|
||||
|
||||
.. option:: --db-filter <filter>
|
||||
|
||||
hides databases that do not match ``<filter>``. The filter is a
|
||||
hides databases that do not match ``<filter>`` for the Web UI. The filter is a
|
||||
`regular expression`_, with the additions that:
|
||||
|
||||
- ``%h`` is replaced by the whole hostname the request is made on.
|
||||
@@ -290,6 +290,8 @@ Database
|
||||
If database 11seconddatabase doesn't exist, the database is created and base modules
|
||||
is installed
|
||||
|
||||
.. warning:: This option does not affect cron workers, if no --database is given, cron workers will run on every available database
|
||||
|
||||
.. option:: --db-template <template>
|
||||
|
||||
when creating new databases from the database-management screens, use the
|
||||
|
||||
Reference in New Issue
Block a user