summaryrefslogtreecommitdiff
path: root/addons/report/static/src/js/qwebactionmanager.js
diff options
context:
space:
mode:
authorLaurent Smet <las@openerp.com>2017-04-07 09:56:03 +0200
committerLaurent Smet <las@openerp.com>2017-05-08 09:22:56 +0200
commit3425752eaca236c1e4b4d616aa49b3faa6cfd957 (patch)
tree5ad5c08176129dff99f072c71fc8211f8b56183f /addons/report/static/src/js/qwebactionmanager.js
parent9898b125ad00aa2288017761297003a3a4e1ddb0 (diff)
[REM] odoo/report: remove deprecated stuff
- RML Reports - Webkit Reports (most part already removed by 13b9982c6298021289707ed364e3c1d622a09f13) - LocalService in netsvc.py - rename attributes like rml_% to report_% - rename ir.actions.report.xml to ir.actions.report - allow rendering directly on an ir.actions.report by calling render method - remove 'controller' report_type - remove unused res.font stuff - remove print_report method in models.py (not used) - restore removed call to pdftotext process in test_reports
Diffstat (limited to 'addons/report/static/src/js/qwebactionmanager.js')
-rw-r--r--addons/report/static/src/js/qwebactionmanager.js11
1 files changed, 1 insertions, 10 deletions
diff --git a/addons/report/static/src/js/qwebactionmanager.js b/addons/report/static/src/js/qwebactionmanager.js
index 3f477bf7d16..3c8fee859e3 100644
--- a/addons/report/static/src/js/qwebactionmanager.js
+++ b/addons/report/static/src/js/qwebactionmanager.js
@@ -44,7 +44,6 @@ var make_report_url = function (action) {
var report_urls = {
'qweb-html': '/report/html/' + action.report_name,
'qweb-pdf': '/report/pdf/' + action.report_name,
- 'controller': action.report_file,
};
// We may have to build a query string with `action.data`. It's the place
// were report's using a wizard to customize the output traditionally put
@@ -69,7 +68,7 @@ var make_report_url = function (action) {
};
ActionManager.include({
- ir_actions_report_xml: function (action, options) {
+ ir_actions_report: function (action, options) {
var self = this;
action = _.clone(action);
@@ -132,14 +131,6 @@ ActionManager.include({
return self.do_action('report.client_action', client_action_options);
}
});
- } else if (action.report_type === 'controller') {
- framework.blockUI();
- var response = [
- report_urls.controller,
- action.report_type,
- ];
- var c = crash_manager;
- return trigger_download(self.getSession(), response, c, action, options);
} else {
return self._super(action, options);
}