Skip to content

Commit

Permalink
[FIX] correctly obtain the list of database with odoo is started with…
Browse files Browse the repository at this point in the history
… --no-database-list
  • Loading branch information
sbidoul authored and romi477 committed Oct 21, 2021
1 parent 443d9dd commit 892d1e4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion queue_job/jobrunner/runner.py
Original file line number Diff line number Diff line change
Expand Up @@ -264,7 +264,7 @@ def get_db_names(self):
if openerp.tools.config['db_name']:
db_names = openerp.tools.config['db_name'].split(',')
else:
db_names = openerp.service.db.exp_list()
db_names = openerp.service.db.exp_list(True)
dbfilter = openerp.tools.config['dbfilter']
if dbfilter:
db_names = [d for d in db_names if re.match(dbfilter, d)]
Expand Down

0 comments on commit 892d1e4

Please sign in to comment.