From b561c2d50c905ebcbd78be2c97906a56609e5d97 Mon Sep 17 00:00:00 2001 From: "ARA (OpenERP)" Date: Tue, 2 Aug 2011 12:57:33 +0530 Subject: [PATCH] [FIX] account: Bad code in New Company Financial Setting, or more likely in every localisation module in 6 lp bug: https://launchpad.net/bugs/785147 fixed bzr revid: ara@tinyerp.com-20110802072733-lpdqg45u96h886rt --- addons/account/account_view.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/addons/account/account_view.xml b/addons/account/account_view.xml index 0c4ade61439..45432ec628d 100644 --- a/addons/account/account_view.xml +++ b/addons/account/account_view.xml @@ -2433,7 +2433,7 @@ -act_window_ids = self.pool.get('ir.actions.act_window').search(cr, uid,[('name', 'in', ('Accounting Chart Configuration', 'Generate Chart of Accounts from a Chart Template'))], context=context) +act_window_ids = self.pool.get('ir.actions.act_window').search(cr, uid,[('name', '=', ('Accounting Chart Configuration'))], context=context) todo_ids = self.pool.get('ir.actions.todo').search(cr, uid, [('action_id', 'in', act_window_ids)], context=context) self.pool.get('ir.actions.todo').write(cr, uid, todo_ids, {'state':'open'}, context=context) action = self.pool.get('res.config').next(cr, uid, [], context)