diff --git a/addons/web/controllers/main.py b/addons/web/controllers/main.py index b0cf820005b..8d08f475c74 100644 --- a/addons/web/controllers/main.py +++ b/addons/web/controllers/main.py @@ -1641,7 +1641,7 @@ class ReportController(http.Controller): @http.route(['/report/download'], type='http', auth="user") def report_download(self, data, token): - """This function is used by 'qwebactionmanager.js' in order to trigger the download of + """This function is used by 'action_manager_report.js' in order to trigger the download of a pdf/controller report. :param data: a javascript array JSON.stringified containg report internal url ([0]) and diff --git a/addons/web/static/src/js/report/qwebactionmanager.js b/addons/web/static/src/js/chrome/action_manager_report.js similarity index 97% rename from addons/web/static/src/js/report/qwebactionmanager.js rename to addons/web/static/src/js/chrome/action_manager_report.js index cc875882ce2..b702ab3a5f9 100644 --- a/addons/web/static/src/js/report/qwebactionmanager.js +++ b/addons/web/static/src/js/chrome/action_manager_report.js @@ -1,5 +1,10 @@ -odoo.define('report.report', function (require) { -'use strict'; +odoo.define('web.ReportActionManager', function (require) { +"use strict"; + +/** + * The purpose of this file is to add the support of Odoo actions of type + * 'ir.actions.report' to the ActionManager. + */ var ActionManager = require('web.ActionManager'); var core = require('web.core'); diff --git a/addons/web/views/webclient_templates.xml b/addons/web/views/webclient_templates.xml index 295aa7f9b26..b69450ae752 100644 --- a/addons/web/views/webclient_templates.xml +++ b/addons/web/views/webclient_templates.xml @@ -150,6 +150,7 @@ + @@ -235,7 +236,6 @@ -