[FIX] account_financial_report: Export to XLSX after report preview
Fix ReferenceError: _ is not defined when printing report to xlsx after preview
This commit is contained in:
committed by
chaule97
parent
3ca5cefa87
commit
5bb0106541
@@ -31,7 +31,7 @@ patch(ReportAction.prototype, {
|
|||||||
* @returns {String}
|
* @returns {String}
|
||||||
*/
|
*/
|
||||||
_get_xlsx_name(str) {
|
_get_xlsx_name(str) {
|
||||||
if (!_.isString(str)) {
|
if (typeof str !== "string") {
|
||||||
return str;
|
return str;
|
||||||
}
|
}
|
||||||
const parts = str.split(".");
|
const parts = str.split(".");
|
||||||
|
|||||||
Reference in New Issue
Block a user