From db8ed9aa47acedff4c584e55b567a84c8e7b4480 Mon Sep 17 00:00:00 2001 From: Christophe Matthieu Date: Mon, 16 Jul 2018 12:22:10 +0200 Subject: [PATCH] [IMP] report: render report without editable mode Before this change, the reports were generated in editable mode for branding to be applied. The branding is used to cut the report and add on each selected record for generating the pdf. Applied branding and editing options takes a useless time and branding was also applied by widgets even if branding was not requested. --- addons/web/views/report_templates.xml | 19 +++++++--- addons/web_editor/models/ir_qweb.py | 37 +++++++++++-------- odoo/addons/base/models/ir_actions_report.py | 35 +++++++++++------- .../addons/base/report/ir_model_templates.xml | 2 +- 4 files changed, 57 insertions(+), 36 deletions(-) diff --git a/addons/web/views/report_templates.xml b/addons/web/views/report_templates.xml index 55392c32fdb..98ffba8b7bd 100644 --- a/addons/web/views/report_templates.xml +++ b/addons/web/views/report_templates.xml @@ -179,7 +179,7 @@
-
+
@@ -219,7 +219,7 @@
-
+
@@ -258,7 +258,7 @@
-
+
@@ -306,7 +306,7 @@
-
+
@@ -358,6 +358,9 @@ + + +
@@ -376,14 +379,18 @@
-
+