From d526a5b9f24afe1926546d16ddf7b24a20bcbf75 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?C=C3=A9sar=20L=C3=B3pez=20Ram=C3=ADrez?= Date: Fri, 4 Sep 2020 10:01:22 +0200 Subject: [PATCH] FIX: list_db must be True if queue_job enabled --- templates/odoo.conf.j2 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/templates/odoo.conf.j2 b/templates/odoo.conf.j2 index 6414942..c7a53f3 100644 --- a/templates/odoo.conf.j2 +++ b/templates/odoo.conf.j2 @@ -27,7 +27,7 @@ dbfilter = ^%d$ {% endif %} ; Allow to select another (not filtered by dbfilter) existing database and enable db manager {# Avoid situation where odoo doesn't know what to show (dbfilter) nor can ask to (list_db) #} -{% if ( odoo_role_odoo_dbs | count ) > 1 and not odoo_role_dbfilter_enabled %} +{% if odoo_role_enable_queue_job or (( odoo_role_odoo_dbs | count ) > 1 and not odoo_role_dbfilter_enabled) %} list_db = True {% else %} list_db = {{ odoo_role_list_db }}