[18.0][MIG] web_assets_warmup: Migration to 18.0 #3028
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Note
/web/assets
route. See [FW][REF] generate assets bundle outside t-call-assets odoo/odoo#140124web_assets_warmup
can no longer occur: [14.0][ADD] web_assets_warmup #2614 (comment)env['ir.qweb']._pregenerate_assets_bundles()
, but used for tests only, see [IMP] speedup /web (and other page) loading odoo/odoo#99176commit_assetsbundle
was removed when rendering the report in commit: odoo/odoo@ad4debaweb.assets_common
was removed in commit odoo/odoo@02cba88d3I also conducted some speed tests when printing the report for the first time (checked when calling the
_render_qweb_pdf
method)(ref)when installing the
sale_management
module, and not installingweb_assets_warmup
: 3.861 (s)when installing the
sale_management
andweb_assets_warmup
modules but not manually executing the schedule action task (Generate report assets): 3.949 (s)when installing the
sale_management
andweb_assets_warmup
modules then manually executing the schedule action task (Generate report assets): 2.860 (s)