diff --git a/dbfilter_from_header/__init__.py b/dbfilter_from_header/__init__.py index 00ccc56d5..b7e2fd62c 100644 --- a/dbfilter_from_header/__init__.py +++ b/dbfilter_from_header/__init__.py @@ -23,6 +23,7 @@ from openerp.addons.web.controllers import main as web_main db_list_org = web_main.db_list + def db_list(req, force=False): db_filter = req.httprequest.environ.get('HTTP_X_OPENERP_DBFILTER', '.*') dbs = db_list_org(req, force=force)