[FIX] If this is not a py3o report, do nothing at all. In some cases the UI remains blocked otherwise
parent
eacf2a648c
commit
acad63b666
|
@ -5,7 +5,7 @@
|
||||||
'name': 'Py3o Report Engine',
|
'name': 'Py3o Report Engine',
|
||||||
'summary': 'Reporting engine based on Libreoffice (ODT -> ODT, '
|
'summary': 'Reporting engine based on Libreoffice (ODT -> ODT, '
|
||||||
'ODT -> PDF, ODT -> DOC, ODT -> DOCX, ODS -> ODS, etc.)',
|
'ODT -> PDF, ODT -> DOC, ODT -> DOCX, ODS -> ODS, etc.)',
|
||||||
'version': '10.0.2.0.1',
|
'version': '10.0.2.0.2',
|
||||||
'category': 'Reporting',
|
'category': 'Reporting',
|
||||||
'license': 'AGPL-3',
|
'license': 'AGPL-3',
|
||||||
'author': 'XCG Consulting,'
|
'author': 'XCG Consulting,'
|
||||||
|
|
|
@ -27,12 +27,12 @@ var trigger_download = function(session, response, c, action, options) {
|
||||||
ActionManager.include({
|
ActionManager.include({
|
||||||
ir_actions_report_xml: function(action, options) {
|
ir_actions_report_xml: function(action, options) {
|
||||||
var self = this;
|
var self = this;
|
||||||
framework.blockUI();
|
|
||||||
action = _.clone(action);
|
|
||||||
_t = core._t;
|
|
||||||
|
|
||||||
// Py3o reports
|
// Py3o reports
|
||||||
if ('report_type' in action && action.report_type == 'py3o' ) {
|
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;;
|
var report_url = '/report/py3o/' + action.report_name;;
|
||||||
// generic report: no query string
|
// generic report: no query string
|
||||||
// particular: query string of action.data.form and context
|
// particular: query string of action.data.form and context
|
||||||
|
|
Loading…
Reference in New Issue