[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
This commit is contained in:
ARA (OpenERP)
2011-08-02 12:57:33 +05:30
parent 1bb79ca921
commit b561c2d50c
+1 -1
View File
@@ -2433,7 +2433,7 @@
<field name="model_id" ref="base.model_ir_actions_todo"/>
<field eval="5" name="sequence"/>
<field name="code">
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)