UPDATE report_pdf_options
This commit is contained in:
parent
9b91d3eae7
commit
6904c44d98
|
|
@ -95,7 +95,10 @@ odoo.define('pdf_report_options.report', function(require) {
|
||||||
});
|
});
|
||||||
} else if (action.report_type === 'qweb-text') {
|
} else if (action.report_type === 'qweb-text') {
|
||||||
return self._triggerDownload(action, options, 'text');
|
return self._triggerDownload(action, options, 'text');
|
||||||
} else {
|
} else if (action.report_type === 'xlsx') {
|
||||||
|
return self._triggerDownload(action, options, 'xlsx');
|
||||||
|
}
|
||||||
|
else {
|
||||||
console.error("The ActionManager can't handle reports of type " +
|
console.error("The ActionManager can't handle reports of type " +
|
||||||
action.report_type, action);
|
action.report_type, action);
|
||||||
return Promise.reject();
|
return Promise.reject();
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue