Reviewers: ,
Please review this at http://codereview.tryton.org/72002/ Affected files: M trytond/ir/module/module.py Index: trytond/ir/module/module.py =================================================================== --- a/trytond/ir/module/module.py +++ b/trytond/ir/module/module.py @@ -546,17 +546,10 @@ 'type': 'form', 'object': 'ir.module.module.install_upgrade.start', 'state': [ - ('menu', 'Ok', 'tryton-ok', True), + ('config', 'Ok', 'tryton-ok', True), ], }, }, - 'menu': { - 'result': { - 'type': 'action', - 'action': '_menu', - 'state': 'config', - }, - }, 'config': { 'result': { 'type': 'action', @@ -566,14 +559,6 @@ }, } - def _menu(self, data): - pool = Pool() - model_data_obj = pool.get('ir.model.data') - act_window_obj = pool.get('ir.action.act_window') - act_window_id = model_data_obj.get_id('ir', 'act_menu_tree') - res = act_window_obj.read(act_window_id) - return res - def _config(self, data): return { 'type': 'ir.action.wizard', -- [email protected] mailing list
