[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:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user