From 70ecb691eb31f715c861f7609abb3424affa1e75 Mon Sep 17 00:00:00 2001 From: Sylvain Francis Date: Thu, 20 Nov 2025 15:31:47 +0100 Subject: [PATCH] [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. --- content/developer/reference/cli.rst | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/content/developer/reference/cli.rst b/content/developer/reference/cli.rst index 1bcceba17b..dacb09abab 100644 --- a/content/developer/reference/cli.rst +++ b/content/developer/reference/cli.rst @@ -239,7 +239,7 @@ Database .. option:: --db-filter - hides databases that do not match ````. The filter is a + hides databases that do not match ```` 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. @@ -289,6 +289,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