Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[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 3c61ee5 And issue wkhtmltopdf/wkhtmltopdf#2083 is not yet fixed
- Loading branch information