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

pull/555/head
Luc De Meyer 2021-01-23 19:17:16 +01:00 committed by nguyenhk
parent 31a8f5da1c
commit cf04001029
1 changed files with 1 additions and 0 deletions

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) => {