diff --git a/addons/account/account_view.xml b/addons/account/account_view.xml index 8f47828f9d2..9232a53addb 100644 --- a/addons/account/account_view.xml +++ b/addons/account/account_view.xml @@ -2443,10 +2443,29 @@ form new + + ir.actions.server + True + 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) +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) + + New Company Financial Setting + - + + + New Company Financial Setting + + + STOCK_JUSTIFY_FILL + + account.account.graph