diff --git a/event_management/__manifest__.py b/event_management/__manifest__.py
index 8477d5b87..7f9143181 100644
--- a/event_management/__manifest__.py
+++ b/event_management/__manifest__.py
@@ -21,7 +21,7 @@
################################################################################
{
'name': 'Event Management and Catering',
- 'version': '18.0.1.0.0',
+ 'version': '18.0.1.0.1',
"category": "Industries",
'summary': """Comprehensive event management with integrated catering
service.""",
diff --git a/event_management/doc/RELEASE_NOTES.md b/event_management/doc/RELEASE_NOTES.md
index ea9e6e6f0..e1b735db0 100644
--- a/event_management/doc/RELEASE_NOTES.md
+++ b/event_management/doc/RELEASE_NOTES.md
@@ -5,3 +5,8 @@
##### ADD
- Initial commit for Event Management and Catering
+#### 03.11.2025
+#### Version 18.0.1.0.1
+##### UPDT
+
+- Update the js file of xlsx report ompatible with the Odoo 18 Full Accounting Kit for Community accounting module
\ No newline at end of file
diff --git a/event_management/static/description/index.html b/event_management/static/description/index.html
index e3db1d78c..d89da0d10 100644
--- a/event_management/static/description/index.html
+++ b/event_management/static/description/index.html
@@ -985,6 +985,36 @@
+
+
+
+ Latest Release 18.0.1.0.1
+
+
+ Nov 3, 2025
+
+
+
+
+
+
+
+ -
+ Update the js file of xlsx report compatible with the Odoo 18 Full Accounting Kit for Community accounting module
+
+
+
+
+
+
+
+
+
diff --git a/event_management/static/src/js/action_manager.js b/event_management/static/src/js/action_manager.js
index 491e4bff9..760055c20 100644
--- a/event_management/static/src/js/action_manager.js
+++ b/event_management/static/src/js/action_manager.js
@@ -1,20 +1,27 @@
-/** @odoo-module **/
-/** Xlsx report action manager */
-import {registry} from "@web/core/registry";
-import { BlockUI } from "@web/core/ui/block_ui";
+/** @event_management/static/src/js/action_manager.js **/
+import { registry } from "@web/core/registry";
+import { BlockUI, unblockUI } from "@web/core/ui/block_ui";
import { download } from "@web/core/network/download";
-/**XLSX HandlerThis handler is responsible for generating XLSX reports.
-It sends a request to the server to generate the report in XLSX format and
-downloads the generated file.@param {Object} action - The action object
-containing the report details.@returns {Promise} - A promise that resolves
-when the report generation is complete.*/
-registry.category("ir.actions.report handlers").add("xlsx", async (action) => {
+
+const reportHandlers = registry.category("ir.actions.report handlers");
+
+if (reportHandlers.contains("xlsx")) {
+ reportHandlers.remove("xlsx");
+}
+reportHandlers.add("xlsx", async (action) => {
if (action.report_type === 'xlsx') {
BlockUI;
await download({
url: '/event_xlsx_reports',
data: action.data,
complete: () => unblockUI,
- error: (error) => self.call('crash_manager', 'rpc_error', error),
+ error: (error) => {
+ // Use Odoo's crash manager properly if in OWL context
+ const env = owl.Component.env;
+ if (env && env.services && env.services.crash_manager) {
+ env.services.crash_manager.rpc_error(error);
+ }
+ },
});
-}});
+ }
+});
\ No newline at end of file