diff --git a/addons/account/account_view.xml b/addons/account/account_view.xml index 1b614a1ee85..745795452d3 100644 --- a/addons/account/account_view.xml +++ b/addons/account/account_view.xml @@ -2414,32 +2414,6 @@ form new - - ir.actions.server - True - code - - - -# check for unconfigured companies -account_installer_obj = self.pool.get('account.installer') -account_installer_obj.check_unconfigured_cmp(cr, uid, context=context) -action_ids = [] -# fetch the act_window actions related to chart of account configuration -# we use ir.actions.todo to enable the possibility for other modules to insert their own -# wizards during the configuration process -ref = self.pool.get('ir.model.data').get_object_reference(cr, uid, 'account', 'action_wizard_multi_chart') -if ref: - action_ids += [ref[1]] -ref = self.pool.get('ir.model.data').get_object_reference(cr, uid, 'account', 'action_account_configuration_installer') -if ref: - action_ids += [ref[1]] -todo_ids = pool.get('ir.actions.todo').search(cr, uid, [('action_id', 'in', action_ids)], context=context) -pool.get('ir.actions.todo').write(cr, uid, todo_ids, {'state':'open'}, context=context) -action = pool.get('res.config').next(cr, uid, [], context) - - New Company Financial Setting - account.account.graph diff --git a/addons/account/installer.py b/addons/account/installer.py index 6173ea9213e..05a0f6b455e 100644 --- a/addons/account/installer.py +++ b/addons/account/installer.py @@ -119,15 +119,6 @@ class account_installer(osv.osv_memory): self.execute_simple(cr, uid, ids, context) super(account_installer, self).execute(cr, uid, ids, context=context) - def action_next(self, cr, uid, ids, context=None): - next = self.execute(cr, uid, ids, context=context) - for installer in self.browse(cr, uid, ids, context=context): - if installer.charts == 'l10n_be': - return {'type': 'ir.actions.act_window_close'} - else : - if next : return next - return self.next(cr, uid, ids, context=context) - def execute_simple(self, cr, uid, ids, context=None): if context is None: context = {} diff --git a/addons/l10n_be/l10n_be_wizard.yml b/addons/l10n_be/l10n_be_wizard.yml index 178009be7ff..0b16827225f 100644 --- a/addons/l10n_be/l10n_be_wizard.yml +++ b/addons/l10n_be/l10n_be_wizard.yml @@ -1,10 +1,6 @@ -- - !record {model: ir.actions.todo, id: config_call_account_template}: - action_id: account.action_wizard_multi_chart - type: automatic - !python {model: ir.actions.todo}: | - install_todo = self.browse(cr, uid, ref('l10n_be.config_call_account_template')) + install_todo = self.browse(cr, uid, ref('account.action_wizard_multi_chart_todo')) if install_todo.state == 'open': wiz = self.pool.get('wizard.multi.charts.accounts') values = {