From 0afff9aae3497d2621bd9b3d5abd56531f60fb95 Mon Sep 17 00:00:00 2001 From: ima-openerp Date: Wed, 18 Sep 2013 12:28:54 +0530 Subject: [PATCH] [IMP]removed unused method which is defined only for web shortcuts module. bzr revid: ishwarmalvi13@gmail.com-20130918065854-u0aiyu5e1z7tf09g --- addons/web/controllers/main.py | 7 ------- 1 file changed, 7 deletions(-) diff --git a/addons/web/controllers/main.py b/addons/web/controllers/main.py index 651e5c42a97..81d37b5aae0 100644 --- a/addons/web/controllers/main.py +++ b/addons/web/controllers/main.py @@ -1010,13 +1010,6 @@ class Menu(http.Controller): """ return request.session.model('ir.ui.menu').get_needaction_data(menu_ids, request.context) - @http.route('/web/menu/action', type='json', auth="user") - def action(self, menu_id): - # still used by web_shortcut - actions = load_actions_from_ir_values('action', 'tree_but_open', - [('ir.ui.menu', menu_id)], False) - return {"action": actions} - class DataSet(http.Controller): @http.route('/web/dataset/search_read', type='json', auth="user")