From 20f670b7d5dea9f42419b951be2f2c3d709327ad 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 ba54890a88..43c430e00b 100644 --- a/content/developer/reference/cli.rst +++ b/content/developer/reference/cli.rst @@ -237,7 +237,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. @@ -287,6 +287,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