From 600513f09fedf9d4e8799a895c7bb4f12e78eb3e Mon Sep 17 00:00:00 2001 From: Stephane Wirtel Date: Wed, 17 Apr 2013 16:58:29 +0200 Subject: [PATCH] [FIX] account: avoid a crash if the user does not select an existing chart. bzr revid: stw@openerp.com-20130417145829-0juk1t6ikbcts7v8 --- addons/account/installer.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/addons/account/installer.py b/addons/account/installer.py index 7ef1b59dcbd..776b4dfe0e2 100644 --- a/addons/account/installer.py +++ b/addons/account/installer.py @@ -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])) - set(['has_default_company']) + return (modules | set([chart])) - set(['has_default_company', 'configurable']) account_installer()