[MOV] web: move and rename qwebactionmanager.js

This commit is contained in:
Aaron Bohy
2018-01-16 20:49:19 +01:00
parent 32b8cec536
commit 80db9f232b
3 changed files with 9 additions and 4 deletions
+1 -1
View File
@@ -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
@@ -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');
+1 -1
View File
@@ -150,6 +150,7 @@
<script type="text/javascript" src="/web/static/src/js/core/pyeval.js"></script>
<script type="text/javascript" src="/web/static/src/js/chrome/action_manager.js"></script>
<script type="text/javascript" src="/web/static/src/js/chrome/action_manager_act_window.js"></script>
<script type="text/javascript" src="/web/static/src/js/chrome/action_manager_report.js"/>
<script type="text/javascript" src="/web/static/src/js/chrome/control_panel.js"></script>
<script type="text/javascript" src="/web/static/src/js/chrome/abstract_web_client.js"></script>
<script type="text/javascript" src="/web/static/src/js/chrome/web_client.js"></script>
@@ -235,7 +236,6 @@
<script type="text/javascript" src="/web/static/src/js/views/calendar/calendar_renderer.js"></script>
<script type="text/javascript" src="/web/static/src/js/views/calendar/calendar_view.js"></script>
<script type="text/javascript" src="/web/static/src/js/report/qwebactionmanager.js"/>
<script type="text/javascript" src="/web/static/src/js/report/utils.js"/>
<script type="text/javascript" src="/web/static/src/js/report/client_action.js"/>
<link rel="stylesheet" type="text/less" href="/web/static/src/less/report_backend.less"/>