Skip to content

Commit 5c0e0dd

Browse files
committed
[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 #15379 X-original-commit: fbc7874 Signed-off-by: Sylvain Francis (syf) <syf+odoo@odoo.com>
1 parent b63d697 commit 5c0e0dd

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

content/developer/reference/cli.rst

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -240,7 +240,7 @@ Database
240240

241241
.. option:: --db-filter <filter>
242242

243-
hides databases that do not match ``<filter>``. The filter is a
243+
hides databases that do not match ``<filter>`` for the Web UI. The filter is a
244244
`regular expression`_, with the additions that:
245245

246246
- ``%h`` is replaced by the whole hostname the request is made on.
@@ -290,6 +290,8 @@ Database
290290
If database 11seconddatabase doesn't exist, the database is created and base modules
291291
is installed
292292

293+
.. warning:: This option does not affect cron workers, if no --database is given, cron workers will run on every available database
294+
293295
.. option:: --db-template <template>
294296

295297
when creating new databases from the database-management screens, use the

0 commit comments

Comments
 (0)