Browse Source

Sep 13: [FIX] Bug Fixed 'statement_report'

pull/332/merge
Cybrosys Technologies 8 months ago
parent
commit
c5e915aa34
  1. 6
      statement_report/doc/RELEASE_NOTES.md
  2. 2
      statement_report/static/src/js/action_manager.js

6
statement_report/doc/RELEASE_NOTES.md

@ -9,3 +9,9 @@
#### Version 16.0.1.0.1
#### UPDATED
- Added the case of credit and debit notes in to the statement
#### 11.09.2024
#### Version 16.0.1.0.1
#### UPDATED
- Resolve the issue when the 'xlsx' report type more than once in the registry

2
statement_report/static/src/js/action_manager.js

@ -6,6 +6,7 @@ var framework = require('web.framework')
var session = require('web.session')
//action manager for xlsx report
if (!registry.category('ir.actions.report handlers').contains('xlsx')) {
registry.category('ir.actions.report handlers').add('xlsx', async (action) => {
if (action.report_type === 'xlsx'){
framework.blockUI();
@ -20,3 +21,4 @@ registry.category('ir.actions.report handlers').add('xlsx', async (action) => {
return def;
}
})
}

Loading…
Cancel
Save