From 99e5c1a9c065366804839f6065c2c3dabea2f599 Mon Sep 17 00:00:00 2001
From: Risvana Cybro
Date: Tue, 30 Dec 2025 16:59:18 +0530
Subject: [PATCH] :Dec 30 [FIX] Bug Fixed 'advance_cash_flow_statements'
---
advance_cash_flow_statements/__manifest__.py | 2 +-
advance_cash_flow_statements/doc/RELEASE_NOTES.md | 5 +++++
.../static/description/index.html | 11 +++++++++++
.../static/src/js/action_manager.js | 2 +-
advance_cash_flow_statements/wizard/account_wizard.py | 2 +-
5 files changed, 19 insertions(+), 3 deletions(-)
diff --git a/advance_cash_flow_statements/__manifest__.py b/advance_cash_flow_statements/__manifest__.py
index 0fb09bc70..56aabc839 100644
--- a/advance_cash_flow_statements/__manifest__.py
+++ b/advance_cash_flow_statements/__manifest__.py
@@ -21,7 +21,7 @@
################################################################################
{
'name': 'Advanced Cash Flow Statements',
- 'version': '17.0.1.0.0',
+ 'version': '17.0.1.0.1',
'summary': """Generate four levels of cash flow statement reports in PDF and
Excel""",
'description': """Generate four levels of cash flow statement reports in PDF
diff --git a/advance_cash_flow_statements/doc/RELEASE_NOTES.md b/advance_cash_flow_statements/doc/RELEASE_NOTES.md
index 1ced573a6..7a76accd7 100644
--- a/advance_cash_flow_statements/doc/RELEASE_NOTES.md
+++ b/advance_cash_flow_statements/doc/RELEASE_NOTES.md
@@ -4,3 +4,8 @@
#### Version 17.0.1.0.0
##### ADD
- Initial commit for Advanced Cash Flow Statements
+
+#### 29.12.2025
+#### Version 17.0.1.0.1
+##### FIX
+- Fixed an error in XLSX report generation when the report_xlsx module is installed.
diff --git a/advance_cash_flow_statements/static/description/index.html b/advance_cash_flow_statements/static/description/index.html
index 46ce0f0d8..5679918ea 100644
--- a/advance_cash_flow_statements/static/description/index.html
+++ b/advance_cash_flow_statements/static/description/index.html
@@ -334,6 +334,17 @@
Initial Commit for Advanced Cash Flow Statements.
+
+
Version
+ 17.0.1.0.1|Released on:29th December 2025
+
+
+
+ Fixed an error in XLSX report generation when the report_xlsx module is installed.
+
diff --git a/advance_cash_flow_statements/static/src/js/action_manager.js b/advance_cash_flow_statements/static/src/js/action_manager.js
index 8eed9cf0e..78895d81c 100644
--- a/advance_cash_flow_statements/static/src/js/action_manager.js
+++ b/advance_cash_flow_statements/static/src/js/action_manager.js
@@ -4,7 +4,7 @@ import { BlockUI } from "@web/core/ui/block_ui";
import { download } from "@web/core/network/download";
// This function is responsible for generating and downloading an XLSX report.
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();
await download({
url: '/xlsx_reports',
diff --git a/advance_cash_flow_statements/wizard/account_wizard.py b/advance_cash_flow_statements/wizard/account_wizard.py
index 03ca53f4e..1c63854f3 100644
--- a/advance_cash_flow_statements/wizard/account_wizard.py
+++ b/advance_cash_flow_statements/wizard/account_wizard.py
@@ -99,7 +99,7 @@ class AccountWizard(models.TransientModel):
}
return {
'type': 'ir.actions.report',
- 'report_type': 'xlsx',
+ 'report_type': 'xlsx_advance_cashflow',
'data': {'model': 'account.wizard',
'output_format': 'xlsx',
'options': json.dumps(data,