From cd295a92b4ccb3dcfcdc3caad279f8e3daadf3b0 Mon Sep 17 00:00:00 2001 From: Rivo Lalaina Date: Tue, 17 Jun 2025 11:12:30 +0300 Subject: [PATCH] =?UTF-8?q?[=C2=A16.0][FIX]=20report=5Faeroo=5Freplace=5Fq?= =?UTF-8?q?web=20:=20=20report=5Fdownloald=20faield?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- report_aeroo_replace_qweb/controllers/main.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/report_aeroo_replace_qweb/controllers/main.py b/report_aeroo_replace_qweb/controllers/main.py index 49055f7..5988c49 100644 --- a/report_aeroo_replace_qweb/controllers/main.py +++ b/report_aeroo_replace_qweb/controllers/main.py @@ -10,7 +10,7 @@ class ReportControllerWithAerooReplacement(ReportController): @http.route(["/report/download"], type="http", auth="user") - def report_download(self, data, token): + def report_download(self, data, context=None, token=None): """Dowload a replacement aeroo report instead of a qweb report. If the report is qweb-pdf and it has a replacement aeroo report, @@ -37,7 +37,7 @@ def report_download(self, data, token): }, ) - return super().report_download(data, token) + return super().report_download(data=data, context=context, token=token) def _get_report_from_qweb_download_url(url_: str) -> models.Model: