Daily updates from Odoo
Monday, June 30, 2025
1 change
Resolved issues and error corrections
This change reverts recent shortcut naming in the web testing library that could cause some databases to show a blank screen with a browser error. It helps restore normal loading while the underlying asset generation issue is investigated separately.
Original PR description
**What's the issue?** On multiple database instances, there is a blank screen appearing with a console error: unknown token 'export' **Why is it happening?** While the exact reason is still unknown,…
**What's the issue?** On multiple database instances, there is a blank screen appearing with a console error: unknown token 'export' **Why is it happening?** While the exact reason is still unknown, here are the main cuplrits: [this first commit](<https://github.com/odoo/odoo/pull/213223/commits/d4c7e7abbde31806a49d4cdba340cd238eb9130b>) and [this second commit](<https://github.com/odoo/odoo/pull/213223/commits/f7426b366431ebc6266113700eeb3821e9e6a884>). The first commit adds support for '$' characters in JS variable names, while the second takes advantage of that feature to declare short-hand aliases for the Hoot-DOM library. The issue is caused because the aliases from the second commit seem to have been applied to the static assets (and it also seems that they have been correctly transpiled by the server), but for some reason the transpiler still doesn't support '$' characters and ignores the added export statements. Database server code has been verified as having the correct version of the transpiler code, but the resulting static assets still present this issue. **What can be done?** This PR should fix the issue, as it effectively reverts changes on the second commit. The first commit has not been reverted (yet), as the cause of the issue is still unknown, and the damage need to be mitigated as quickly as possible. A temporary fix while the revert arrives in stable is to head to the crashing DB in `debug=assets` mode, to head to the debug menu (Bug icon) and to `"Regenerate Assets"`. --- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr