diff --git a/statement_report/doc/RELEASE_NOTES.md b/statement_report/doc/RELEASE_NOTES.md index ffb22ec6d..92264b4af 100644 --- a/statement_report/doc/RELEASE_NOTES.md +++ b/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 diff --git a/statement_report/static/src/js/action_manager.js b/statement_report/static/src/js/action_manager.js index f97058c8b..2b9d0fc78 100644 --- a/statement_report/static/src/js/action_manager.js +++ b/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; } }) +}