[FIX] account: avoid a crash if the user does not select an existing chart.
[odoo/odoo.git] / addons / account / installer.py
index 7ef1b59..776b4df 100644 (file)
@@ -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()