[13.0][FIX]report_xlsx multi-company bug : context dropping (hence also allowed_company_ids) causing access errors in multi-company environment

This commit is contained in:
Luc De Meyer
2021-01-23 19:17:16 +01:00
parent f95a30c90d
commit 0fb5967e90

View File

@@ -39,6 +39,7 @@ odoo.define("report_xlsx.report", function(require) {
url: new_url,
data: {
data: JSON.stringify([new_url, type]),
context: JSON.stringify(cloned_action.context),
},
success: resolve,
error: error => {