Browse Source

:Dec 30 [FIX] Bug Fixed 'advance_cash_flow_statements'

18.0
Risvana Cybro 2 days ago
parent
commit
c7515b94d7
  1. 2
      advance_cash_flow_statements/__manifest__.py
  2. 5
      advance_cash_flow_statements/doc/RELEASE_NOTES.md
  3. 30
      advance_cash_flow_statements/static/description/index.html
  4. 2
      advance_cash_flow_statements/static/src/js/action_manager.js
  5. 2
      advance_cash_flow_statements/wizard/account_wizard.py

2
advance_cash_flow_statements/__manifest__.py

@ -21,7 +21,7 @@
################################################################################
{
'name': 'Advanced Cash Flow Statements',
'version': '18.0.1.0.0',
'version': '18.0.1.0.1',
'summary': """Generate four levels of cash flow statement reports""",
'description': """Generate four hierarchical levels of cash flow statements
and provide options to print reports in both PDF and XLSX

5
advance_cash_flow_statements/doc/RELEASE_NOTES.md

@ -4,3 +4,8 @@
#### Version 18.0.1.0.0
##### ADD
- Initial commit for Advanced Cash Flow Statements
#### 29.12.2025
#### Version 18.0.1.0.1
##### FIX
- Fixed an error in XLSX report generation when the report_xlsx module is installed.

30
advance_cash_flow_statements/static/description/index.html

@ -815,6 +815,36 @@
</div>
</div>
</div>
<div class="row pt-5 m-0">
<div class="col-md-3">
<h4 style="font-size:16px; font-weight:600; color:#514F4F; margin:0; line-height:26px;">
Latest Release 18.0.1.0.1
</h4>
<span style="font-size:14px; color:#7A7979; display:block; margin-bottom:20px;">
29 Dec, 2025
</span>
</div>
<div class="col-md-8">
<div style="padding:0 0 40px">
<div style="margin:0 0 10px">
<div style="display:inline-block; padding:0px 8px; color:#514F4F; background-color:#FFD8D8; border-radius:20px">
Add
</div>
</div>
<div class="d-flex m-0"
style="color:#7A7979;">
<ul class="pl-3 mb-0">
<li>
Fixed an error in XLSX report generation when the report_xlsx module is installed.
</li>
</ul>
</div>
</div>
<div style="padding:0 0 0; border-bottom:1px solid #E3E3E3">
</div>
</div>
</div>
</div>
</div>
</div>

2
advance_cash_flow_statements/static/src/js/action_manager.js

@ -5,7 +5,7 @@ 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: '/cash_flow_xlsx_reports',

2
advance_cash_flow_statements/wizard/account_wizard.py

@ -100,7 +100,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,

Loading…
Cancel
Save