From 8a05ad78431afeef1249ebf83a6c422965ce734f Mon Sep 17 00:00:00 2001 From: Jeremy Kersten Date: Thu, 6 Dec 2018 15:00:53 +0000 Subject: [PATCH] [FIX] web: remove report_assets_common JS from minimal_layout This assets has a lot of JS that is loaded by wkhtmltopdf without any reasons. Wkhtmltopdf don't like long js to load (it is why subst has been write inline) This commit allow to print again (on slowly server) several documents in the same pdf. Before this commit, the JS was not loaded before the default js-delay and so the subst function never called with as result a pdf of only 1 page. After this commit you can again print several documents in the same pdf and subst function is applied. opw-1909000 courtesy of @beledouxdenis that help to debug this error since it is only reproductible on paas server. This commit follow the same logic that commit odoo/odoo@3c61ee5 And issue wkhtmltopdf/wkhtmltopdf#2083 is not yet fixed --- addons/web/views/report_templates.xml | 1 - 1 file changed, 1 deletion(-) diff --git a/addons/web/views/report_templates.xml b/addons/web/views/report_templates.xml index 7cd5b04a01f5c..513f9439c9ac1 100644 --- a/addons/web/views/report_templates.xml +++ b/addons/web/views/report_templates.xml @@ -102,7 +102,6 @@ -