[15.0][FIX] base_rest: `swagger_ui.js` is (sometimes) loaded first, causing crashes
Using base_rest in Odoo 15 results sometimes in UI crashes (web client not loading) because swagger_ui.js is loaded before anything else. This is fixed by adding an explicit dependency to web.
The exact circumstances under which swagger_ui.js is loaded first is not completely clear -- usually when other modules depending on it are loaded, even when such modules don't contain JS themselves. The addition of this dependency seems to fix the issue in all cases.
Hi @lmignon, some modules you are maintaining are being modified, check this out!
This PR has the approved label and has been created more than 5 days ago. It should therefore be ready to merge by a maintainer (or a PSC member if the concerned addon has no declared maintainer). 🤖
/ocabot merge patch
What a great day to merge this nice PR. Let's do it! Prepared branch 15.0-ocabot-merge-pr-272-by-etobella-bump-patch, awaiting test results.
Congratulations, your PR was merged at 5058eda0de6ac364f638eec22a8486f9060255a5. Thanks a lot for contributing to OCA. ❤️