diff options
Diffstat (limited to 'odoo/modules/module.py')
| -rw-r--r-- | odoo/modules/module.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/odoo/modules/module.py b/odoo/modules/module.py index 014f2d0ed9b..ecf95be088b 100644 --- a/odoo/modules/module.py +++ b/odoo/modules/module.py @@ -128,7 +128,7 @@ def initialize_sys_path(): global hooked dd = tools.config.addons_data_dir - if dd not in ad_paths: + if os.access(dd, os.R_OK) and dd not in ad_paths: ad_paths.append(dd) for ad in tools.config['addons_path'].split(','): |
