diff --git a/odoo/modules/graph.py b/odoo/modules/graph.py index aaf90ae8443..ff2f99188fe 100644 --- a/odoo/modules/graph.py +++ b/odoo/modules/graph.py @@ -80,7 +80,7 @@ class Graph(dict): info = odoo.modules.module.load_information_from_description_file(module) if info and info['installable']: packages.append((module, info)) # TODO directly a dict, like in get_modules_with_version - else: + elif module != 'studio_customization': _logger.warning('module %s: not installable, skipped', module) dependencies = dict([(p, info['depends']) for p, info in packages]) @@ -112,10 +112,7 @@ class Graph(dict): unmet_deps = filter(lambda p: p not in self, dependencies[package]) _logger.error('module %s: Unmet dependencies: %s', package, ', '.join(unmet_deps)) - result = len(self) - len_graph - if result != len(module_list): - _logger.warning('Some modules were not loaded.') - return result + return len(self) - len_graph def __iter__(self): diff --git a/odoo/modules/module.py b/odoo/modules/module.py index ecf95be088b..d15df6dba59 100644 --- a/odoo/modules/module.py +++ b/odoo/modules/module.py @@ -302,7 +302,7 @@ def load_information_from_description_file(module, mod_path=None): :param mod_path: Physical path of module, if not providedThe name of the module (sale, purchase, ...) """ if not mod_path: - mod_path = get_module_path(module) + mod_path = get_module_path(module, downloaded=True) manifest_file = module_manifest(mod_path) if manifest_file: # default values for descriptor