|
@ -61,8 +61,11 @@ To develop a module based on this one: |
|
|
:meth:`~.hooks.uninstall_hook_for_submodules`, like the |
|
|
:meth:`~.hooks.uninstall_hook_for_submodules`, like the |
|
|
``product_multi_image`` module does:: |
|
|
``product_multi_image`` module does:: |
|
|
|
|
|
|
|
|
|
|
|
try: |
|
|
from openerp.addons.base_multi_image.hooks import \ |
|
|
from openerp.addons.base_multi_image.hooks import \ |
|
|
pre_init_hook_for_submodules |
|
|
pre_init_hook_for_submodules |
|
|
|
|
|
except: |
|
|
|
|
|
pass |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
def pre_init_hook(cr): |
|
|
def pre_init_hook(cr): |
|
|