website: added website/action/<id_or_xml_id> route, that runs the server action designed by its id or xml_id. Only code server action returning a template give a result. The template is displayed. Other or not existing server actions redirect to the homepage. website: added an override of ir_actions_server: evaluation context gets request for evaluation, to enable request.render(template_name); also returns template the same way action is returned for code server action; bzr revid: tde@openerp.com-20140205090447-2hppg7818nx1wfzh
11 lines
144 B
Python
11 lines
144 B
Python
# -*- coding: utf-8 -*-
|
|
|
|
import ir_actions
|
|
import ir_ui_view
|
|
import website
|
|
import ir_qweb
|
|
import ir_http
|
|
import res_config
|
|
|
|
import test_models
|