From b3300f6074bbc36f18b17af5a6cb7807e1943d5f Mon Sep 17 00:00:00 2001 From: Christophe Simonis Date: Wed, 23 Jan 2013 16:33:45 +0100 Subject: [PATCH] [FIX] signal registry change when uninstall modules bzr revid: chs@openerp.com-20130123153345-x7jm13eieqgeg5i7 --- openerp/addons/base/module/module.py | 1 + 1 file changed, 1 insertion(+) diff --git a/openerp/addons/base/module/module.py b/openerp/addons/base/module/module.py index 123bf4124ed..a0d1eedef2b 100644 --- a/openerp/addons/base/module/module.py +++ b/openerp/addons/base/module/module.py @@ -500,6 +500,7 @@ class module(osv.osv): raise orm.except_orm(_('Error'), _("The `base` module cannot be uninstalled")) dep_ids = self.downstream_dependencies(cr, uid, ids, context=context) self.write(cr, uid, ids + dep_ids, {'state': 'to remove'}) + openerp.modules.registry.RegistryManager.signal_registry_change(cr.dbname) return dict(ACTION_DICT, name=_('Uninstall')) def button_uninstall_cancel(self, cr, uid, ids, context=None):