summaryrefslogtreecommitdiff
path: root/addons/gamification
diff options
context:
space:
mode:
authorXavier Morel <xmo@odoo.com>2015-10-07 14:21:07 +0200
committerXavier Morel <xmo@odoo.com>2015-10-07 15:10:36 +0200
commit9b83dd5894fda3b8fb6a81bd20dd8ea8d6a5b1a4 (patch)
treebfdc5e11d17f5295b2f56c82b6c9a91b69ecaa0e /addons/gamification
parent72dee6d52368ae53de793bf42c63f7a7b93fd909 (diff)
[ADD] Import hook to translate odoo imports
Allows importing the core ``openerp`` as ``odoo`` (e.g. ``from odoo.tools import cache``) and importing modules as e.g. ``odoo.addons.purchase`` **from modules**. From the openerp core, imports *must* remain to ``openerp``, as those run before import hooks can be installed. * AddonsHook allows Odoo imports to be imported as both odoo.addons.* or openerp.addons.* and will load addons to both names simultanously * OdooHook makes the Odoo core accessible as odoo as well as openerp
Diffstat (limited to 'addons/gamification')
0 files changed, 0 insertions, 0 deletions