[FIX] account: avoid a crash if the user does not select an existing chart.
bzr revid: stw@openerp.com-20130417145829-0juk1t6ikbcts7v8
This commit is contained in:
parent
51d5126fee
commit
600513f09f
|
@ -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()
|
||||
|
||||
|
|
Loading…
Reference in New Issue