diff options
| author | Vo Minh Thu <vmt@openerp.com> | 2012-01-09 13:31:23 +0100 |
|---|---|---|
| committer | Vo Minh Thu <vmt@openerp.com> | 2012-01-09 13:31:23 +0100 |
| commit | 1560538f8a336e9e44c35bc8fd9b48b7bc2a2d82 (patch) | |
| tree | 48453e5ba4495de286bf5b23cc69761bec7a756b /openerp/modules/module.py | |
| parent | f24a29717ebf506e310cca40638db6ccdf17d4b6 (diff) | |
[IMP] module: use the `openerp.addons.` namespace to load addons.
(openerp.modules will be changed in openerp.addons in the next commit).
bzr revid: vmt@openerp.com-20120109123123-jt3canjbg0ozs05j
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 936c798767a..a5c432722ea 100644 --- a/openerp/modules/module.py +++ b/openerp/modules/module.py @@ -314,7 +314,7 @@ def register_module_classes(m): try: zip_mod_path = mod_path + '.zip' if not os.path.isfile(zip_mod_path): - __import__(m) + __import__('openerp.modules.' + m) else: zimp = zipimport.zipimporter(zip_mod_path) zimp.load_module(m) |
