Merge pull request #2176 from expsa/manar_dev_base_21_1
UPDATE report_pdf_options
This commit is contained in:
commit
869d0ae162
|
|
@ -95,7 +95,10 @@ odoo.define('pdf_report_options.report', function(require) {
|
|||
});
|
||||
} else if (action.report_type === 'qweb-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 " +
|
||||
action.report_type, action);
|
||||
return Promise.reject();
|
||||
|
|
|
|||
Loading…
Reference in New Issue