Wednesday, June 4, 2025
3 changes · saas-18.3
Resolved issues and error corrections
This fix prevents website upgrades from failing when a stored website domain contains an invalid hostname. Instead of crashing on problematic domain values, the website module now handles the error more safely so upgrades can continue.
Original PR description
It's possible that the `hostname` obtained from `website_domain` is invalid, for instance: ``` website_domain='https://.com' hostname='.com' ``` Attempt to encode it with `idna` will raise an error: `UnicodeError: encoding with 'idna' codec failed (UnicodeError: label empty or too long)` There's a few upgrades to 18.3 failing due to this: [Traceback Group](https://upgrade.odoo.com/odoo/action-178/2029) Tested with [upg-2847175](https://upgrade.odoo.com/odoo/action-150/2847175)
This fix ensures spreadsheet sorting correctly recognizes the count measure when it includes its full aggregation label. It helps prevent validation errors in spreadsheet views that sort by record counts.
Original PR description
The measure is now the fully qualified measure, with the aggregate "__count:sum" Task: 4818416 --- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
Fixed a display issue in Knowledge where article content could shrink to fit its contents on narrower screens instead of using the available space. This improves readability and layout consistency for users working on tablets or smaller browser windows.
Original PR description
Prior to this commit, passing below the medium bootstrap threshold (992px) in the Knowledge form view would make it so the body width would fit its content instead of taking all the available space. The issue was introduced by the removal of some media queries in [this commit]. [this commit]: https://github.com/odoo/enterprise/commit/3f58d0e6f8f9958a3fd6fbba47d11c3d376cd51f task-4836314