From d78b7a28150f996dd5417377c79bc5282c592aa3 Mon Sep 17 00:00:00 2001 From: Fabien Pinckaers Date: Tue, 23 Oct 2012 23:13:47 +0200 Subject: [PATCH] [IMP] accounting bzr revid: fp@openerp.com-20121023211347-kdodwhdir7p1skgb --- addons/account/account_view.xml | 26 -------------------------- addons/l10n_be/l10n_be_wizard.yml | 6 +----- 2 files changed, 1 insertion(+), 31 deletions(-) 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/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 = {