[FIX] import-hook: correctly import the server-wide-module (i.e
authorVo Minh Thu <vmt@openerp.com>
Wed, 1 Feb 2012 15:27:10 +0000 (16:27 +0100)
committerVo Minh Thu <vmt@openerp.com>
Wed, 1 Feb 2012 15:27:10 +0000 (16:27 +0100)
commit084af040920cca60d58241ef2bd9e8517b6eec26
tree911e792a5faeaefe286dfc8366a7c4e9f5ce92c2
parent996578ed49385e6f570d9f5841bc8b4e06846985
[FIX] import-hook: correctly import the server-wide-module (i.e
use the openerp.addons namespace), and correctly set the submodules in
sys.modules (instead of only the top-level package).

bzr revid: vmt@openerp.com-20120201152710-s7sxlgibwd3lwr5l
openerp-server
openerp/modules/module.py