Skip to content

Commit c0e1d73

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 #15380 X-original-commit: fbc7874 Signed-off-by: Sylvain Francis (syf) <[email protected]>
1 parent 75ff3db commit c0e1d73

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
@@ -261,7 +261,7 @@ Database
261261

262262
.. option:: --db-filter <filter>
263263

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

267267
- ``%h`` is replaced by the whole hostname the request is made on.
@@ -311,6 +311,8 @@ Database
311311
If database 11seconddatabase doesn't exist, the database is created and base modules
312312
is installed
313313

314+
.. warning:: This option does not affect cron workers, if no --database is given, cron workers will run on every available database
315+
314316
.. option:: --db-template <template>
315317

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

0 commit comments

Comments
 (0)