From e511fa72e9d7d835fc316a3a5dbee28a7c5dd18e Mon Sep 17 00:00:00 2001 From: Sylvain Francis Date: Thu, 20 Nov 2025 14:31:47 +0000 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. X-original-commit: fbc787474facbbe1d62ecae9ce430429adb78aef --- 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 8034d870f2..0bbaa72020 100644 --- a/content/developer/reference/cli.rst +++ b/content/developer/reference/cli.rst @@ -240,7 +240,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. @@ -290,6 +290,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