From 946537f782a608aa5e6fe89091032b1688c2415f Mon Sep 17 00:00:00 2001 From: "duc.tdm" Date: Thu, 3 Oct 2024 11:00:18 +0700 Subject: [PATCH] [FIX] report_xlsx: Preserve custom context by using context from report instead of user context --- report_xlsx/static/src/js/report/action_manager_report.esm.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/report_xlsx/static/src/js/report/action_manager_report.esm.js b/report_xlsx/static/src/js/report/action_manager_report.esm.js index 9984801a2c..39e840b355 100644 --- a/report_xlsx/static/src/js/report/action_manager_report.esm.js +++ b/report_xlsx/static/src/js/report/action_manager_report.esm.js @@ -33,7 +33,7 @@ registry url: "/report/download", data: { data: JSON.stringify([url, action.report_type]), - context: JSON.stringify(env.services.user.context), + context: JSON.stringify(actionContext), }, }); } finally {