Skip to content

Commit 9c37d23

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 #15376 X-original-commit: fbc7874 Signed-off-by: Sylvain Francis (syf) <[email protected]>
1 parent d103488 commit 9c37d23

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
@@ -237,7 +237,7 @@ Database
237237

238238
.. option:: --db-filter <filter>
239239

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

243243
- ``%h`` is replaced by the whole hostname the request is made on.
@@ -287,6 +287,8 @@ Database
287287
If database 11seconddatabase doesn't exist, the database is created and base modules
288288
is installed
289289

290+
.. warning:: This option does not affect cron workers, if no --database is given, cron workers will run on every available database
291+
290292
.. option:: --db-template <template>
291293

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

0 commit comments

Comments
 (0)