From 8d58d985dd2b84be6a308c55e7582b68e9a537d3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?St=C3=A9phane=20Bidoul?= Date: Sun, 30 Aug 2015 10:46:15 +0200 Subject: [PATCH] [FIX] http: no auto-load for modules not installable Closes #8289 --- openerp/http.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/openerp/http.py b/openerp/http.py index 5053d795b88..6a832d8f6f9 100644 --- a/openerp/http.py +++ b/openerp/http.py @@ -1302,6 +1302,8 @@ class Root(object): path_static = os.path.join(addons_path, module, 'static') if os.path.isfile(manifest_path) and os.path.isdir(path_static): manifest = ast.literal_eval(open(manifest_path).read()) + if not manifest.get('installable', True): + continue manifest['addons_path'] = addons_path _logger.debug("Loading %s", module) if 'openerp.addons' in sys.modules: