mirror of
https://github.com/OCA/reporting-engine.git
synced 2025-02-16 16:30:38 +02:00
[FIX] If this is not a py3o report, do nothing at all. In some cases the UI remains blocked otherwise
This commit is contained in:
committed by
Elmeri Niemelä
parent
cb40a8e9ff
commit
d8217989d0
@@ -27,12 +27,12 @@ var trigger_download = function(session, response, c, action, options) {
|
||||
ActionManager.include({
|
||||
ir_actions_report_xml: function(action, options) {
|
||||
var self = this;
|
||||
framework.blockUI();
|
||||
action = _.clone(action);
|
||||
_t = core._t;
|
||||
|
||||
// Py3o reports
|
||||
if ('report_type' in action && action.report_type == 'py3o' ) {
|
||||
framework.blockUI();
|
||||
action = _.clone(action);
|
||||
_t = core._t;
|
||||
var report_url = '/report/py3o/' + action.report_name;;
|
||||
// generic report: no query string
|
||||
// particular: query string of action.data.form and context
|
||||
|
||||
Reference in New Issue
Block a user