From 5487329348103f60b6ea071141ffd017984b843d Mon Sep 17 00:00:00 2001 From: "Quentin (OpenERP)" Date: Tue, 13 Dec 2011 14:42:36 +0100 Subject: [PATCH] [FIX] account: new company financial setting wizard fixed bzr revid: qdp-launchpad@openerp.com-20111213134236-334j360qevt5c84p --- addons/account/account_view.xml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/addons/account/account_view.xml b/addons/account/account_view.xml index 36a87cc6459..d25190e01b2 100644 --- a/addons/account/account_view.xml +++ b/addons/account/account_view.xml @@ -2487,6 +2487,9 @@ act_window_ids = pool.get('ir.actions.act_window').search(cr, uid,[('name', 'in', ('Accounting Chart Configuration', 'Generate Chart of Accounts from a Chart Template'))], context=context) +ref = self.pool.get('ir.model.data').get_object_reference(cr, uid, 'account', 'action_account_configuration_installer') +if ref: + act_window_ids += [ref[1]] todo_ids = pool.get('ir.actions.todo').search(cr, uid, [('action_id', 'in', act_window_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)