Browse Source

:Dec 30 [FIX] Bug Fixed 'advance_cash_flow_statements'

17.0
Risvana Cybro 1 day ago
parent
commit
99e5c1a9c0
  1. 2
      advance_cash_flow_statements/__manifest__.py
  2. 5
      advance_cash_flow_statements/doc/RELEASE_NOTES.md
  3. 11
      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', '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 'summary': """Generate four levels of cash flow statement reports in PDF and
Excel""", Excel""",
'description': """Generate four levels of cash flow statement reports in PDF 'description': """Generate four levels of cash flow statement reports in PDF

5
advance_cash_flow_statements/doc/RELEASE_NOTES.md

@ -4,3 +4,8 @@
#### Version 17.0.1.0.0 #### Version 17.0.1.0.0
##### ADD ##### ADD
- Initial commit for Advanced Cash Flow Statements - 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.

11
advance_cash_flow_statements/static/description/index.html

@ -334,6 +334,17 @@
Initial Commit for Advanced Cash Flow Statements.</p> Initial Commit for Advanced Cash Flow Statements.</p>
</div> </div>
<div class="py-3"
style="font-weight: 500;background-color: #fff; border-radius: 4px; padding: 1rem; box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);">
<div class="d-flex mb-3" style="font-size: 0.8rem; font-weight: 500;"><span>Version
17.0.1.0.1</span><span class="px-2">|</span><span
style="color: #714B67;font-weight: 600;">Released on:29th December 2025</span>
</div>
<p class="m-0"
style=" color:#718096!important; font-size:1rem !important;line-height: 28px;">
Fixed an error in XLSX report generation when the report_xlsx module is installed.</p>
</div>
</div> </div>
</div> </div>
</div> </div>

2
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"; 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',

2
advance_cash_flow_statements/wizard/account_wizard.py

@ -99,7 +99,7 @@ class AccountWizard(models.TransientModel):
} }
return { return {
'type': 'ir.actions.report', 'type': 'ir.actions.report',
'report_type': 'xlsx', 'report_type': 'xlsx_advance_cashflow',
'data': {'model': 'account.wizard', 'data': {'model': 'account.wizard',
'output_format': 'xlsx', 'output_format': 'xlsx',
'options': json.dumps(data, 'options': json.dumps(data,

Loading…
Cancel
Save