From 973bf9e47f459ed240cfe5c4bc610f3b43864c97 Mon Sep 17 00:00:00 2001 From: "Pedro M. Baeza" Date: Fri, 29 Jul 2016 19:41:37 +0200 Subject: [PATCH] [FIX] base_multi_image: Correct README instructions --- base_multi_image/README.rst | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/base_multi_image/README.rst b/base_multi_image/README.rst index 511dac181..8e05f046e 100644 --- a/base_multi_image/README.rst +++ b/base_multi_image/README.rst @@ -61,8 +61,11 @@ To develop a module based on this one: :meth:`~.hooks.uninstall_hook_for_submodules`, like the ``product_multi_image`` module does:: - from openerp.addons.base_multi_image.hooks import \ - pre_init_hook_for_submodules + try: + from openerp.addons.base_multi_image.hooks import \ + pre_init_hook_for_submodules + except: + pass def pre_init_hook(cr):