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)