From e583d1a1591bbd31de7595256c00a5dfa43d237b Mon Sep 17 00:00:00 2001 From: Oliver Walters Date: Sat, 7 Aug 2021 22:30:51 +1000 Subject: [PATCH] Actually use the variable, I suppose --- InvenTree/report/api.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/InvenTree/report/api.py b/InvenTree/report/api.py index 576cb310e5..2129b31627 100644 --- a/InvenTree/report/api.py +++ b/InvenTree/report/api.py @@ -259,7 +259,8 @@ class ReportPrintMixin: return InvenTree.helpers.DownloadFile( pdf, report_name, - content_type='application/pdf' + content_type='application/pdf', + inline=inline, )