[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
This commit is contained in:
parent
5b7c5414d3
commit
7177183c59
|
@ -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()
|
||||
|
||||
|
|
Loading…
Reference in New Issue