From 7177183c59cd194936173c32b893c700d66d97e5 Mon Sep 17 00:00:00 2001 From: Stephane Wirtel Date: Fri, 12 Apr 2013 17:44:22 +0200 Subject: [PATCH] [FIX] account: Remove the has_default_company 'module' from the modules to install. [FIX] account: forward the value of execute, because the client does not receive the right action bzr revid: stw@openerp.com-20130412154422-cpycmlmpsjx39rae --- addons/account/installer.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/addons/account/installer.py b/addons/account/installer.py index 995e3986af4..7ef1b59dcbd 100644 --- a/addons/account/installer.py +++ b/addons/account/installer.py @@ -138,7 +138,7 @@ class account_installer(osv.osv_memory): def execute(self, cr, uid, ids, context=None): self.execute_simple(cr, uid, ids, context) - super(account_installer, self).execute(cr, uid, ids, context=context) + return super(account_installer, self).execute(cr, uid, ids, context=context) def execute_simple(self, cr, uid, ids, context=None): if context is None: @@ -171,7 +171,7 @@ class account_installer(osv.osv_memory): chart = self.read(cr, uid, ids, ['charts'], context=context)[0]['charts'] _logger.debug('Installing chart of accounts %s', chart) - return modules | set([chart]) + return (modules | set([chart])) - set(['has_default_company']) account_installer()