From 5bb0106541c2471ce379d40f2f7bca37db40b47c Mon Sep 17 00:00:00 2001 From: Carolina Fernandez Date: Mon, 12 Aug 2024 10:25:51 -0700 Subject: [PATCH] [FIX] account_financial_report: Export to XLSX after report preview Fix ReferenceError: _ is not defined when printing report to xlsx after preview --- account_financial_report/static/src/js/report_action.esm.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/account_financial_report/static/src/js/report_action.esm.js b/account_financial_report/static/src/js/report_action.esm.js index e7a9c996..559d3899 100644 --- a/account_financial_report/static/src/js/report_action.esm.js +++ b/account_financial_report/static/src/js/report_action.esm.js @@ -31,7 +31,7 @@ patch(ReportAction.prototype, { * @returns {String} */ _get_xlsx_name(str) { - if (!_.isString(str)) { + if (typeof str !== "string") { return str; } const parts = str.split(".");