summaryrefslogtreecommitdiff
path: root/addons
diff options
context:
space:
mode:
authorStephane Wirtel <stw@openerp.com>2013-04-17 16:58:29 +0200
committerStephane Wirtel <stw@openerp.com>2013-04-17 16:58:29 +0200
commit600513f09fedf9d4e8799a895c7bb4f12e78eb3e (patch)
treedf4f9c1a1f261a7d1bd93a3abecfb562c02fc70e /addons
parent51d5126feeeb3323f2659cb445cf6af81d702cde (diff)
[FIX] account: avoid a crash if the user does not select an existing chart.
bzr revid: stw@openerp.com-20130417145829-0juk1t6ikbcts7v8
Diffstat (limited to 'addons')
-rw-r--r--addons/account/installer.py2
1 files changed, 1 insertions, 1 deletions
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()