Skip to content

Commit

Permalink
Merge pull request #89 from coopdevs/fix/queue_list_db
Browse files Browse the repository at this point in the history
FIX: list_db must be True if queue_job enabled
  • Loading branch information
cesarlr authored Sep 7, 2020
2 parents 48b64d1 + d526a5b commit 9b0a7e0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion templates/odoo.conf.j2
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}
Expand Down

0 comments on commit 9b0a7e0

Please sign in to comment.