Skip to content

Commit fbc7874

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 #15375 Signed-off-by: Sylvain Francis (syf) <syf+odoo@odoo.com>
1 parent c42db3c commit fbc7874

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
@@ -239,7 +239,7 @@ Database
239239

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

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

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

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

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

0 commit comments

Comments
 (0)