|
|
@ -4,7 +4,7 @@ import { BlockUI } from "@web/core/ui/block_ui"; |
|
|
import { download } from "@web/core/network/download"; |
|
|
import { download } from "@web/core/network/download"; |
|
|
// This function is responsible for generating and downloading an XLSX report.
|
|
|
// This function is responsible for generating and downloading an XLSX report.
|
|
|
registry.category("ir.actions.report handlers").add("xlsx", async function (action){ |
|
|
registry.category("ir.actions.report handlers").add("xlsx", async function (action){ |
|
|
if (action.report_type === 'xlsx') { |
|
|
if (action.report_type === 'xlsx_advance_cashflow') { |
|
|
const blockUI = new BlockUI(); |
|
|
const blockUI = new BlockUI(); |
|
|
await download({ |
|
|
await download({ |
|
|
url: '/xlsx_reports', |
|
|
url: '/xlsx_reports', |
|
|
|