[CLEAN] website: server action controllers: removed unnecessary variable

bzr revid: tde@openerp.com-20140212103753-8fheizloj3minlt6
This commit is contained in:
Thibault Delavallée 2014-02-12 11:37:53 +01:00
parent c27dfb92ea
commit 3c3bff14c0
1 changed files with 1 additions and 2 deletions

View File

@ -369,9 +369,8 @@ class Website(openerp.addons.web.controllers.main.Home):
#------------------------------------------------------
# Server actions
#------------------------------------------------------
_server_action_route = '/website/action'
@http.route('%s/<path_or_xml_id_or_id>' % _server_action_route, type='http', auth="public", website=True)
@http.route('/website/action/<path_or_xml_id_or_id>', type='http', auth="public", website=True)
def actions_server(self, path_or_xml_id_or_id, **post):
cr, uid, context = request.cr, request.uid, request.context
res, action_id, action = None, None, None