diff options
| author | Christophe Simonis <chs@odoo.com> | 2016-09-15 11:02:44 +0200 |
|---|---|---|
| committer | Christophe Simonis <chs@odoo.com> | 2016-09-15 11:02:44 +0200 |
| commit | 5adca2bc4665f82fb244f08453886181cceedef5 (patch) | |
| tree | 32766cf843c6aa657547656cc13875d2853b684c /openerp/modules/module.py | |
| parent | 07a207c07c8252bccb0216b0716a2fd4f975f77d (diff) | |
| parent | 2fa3591a9bab94bf388c76346ad508261d1e6432 (diff) | |
[MERGE] forward port branch saas-6 up to 2fa3591
Diffstat (limited to 'openerp/modules/module.py')
| -rw-r--r-- | openerp/modules/module.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/openerp/modules/module.py b/openerp/modules/module.py index 1ea82fa3906..2d415542c9f 100644 --- a/openerp/modules/module.py +++ b/openerp/modules/module.py @@ -102,7 +102,7 @@ def get_module_path(module, downloaded=False, display_warning=True): """ initialize_sys_path() for adp in ad_paths: - if os.path.exists(opj(adp, module)) or os.path.exists(opj(adp, '%s.zip' % module)): + if os.path.exists(opj(adp, module, MANIFEST)) or os.path.exists(opj(adp, '%s.zip' % module)): return opj(adp, module) if downloaded: |
