Wednesday, June 4, 2025
2 changes · saas-18.1
Resolved issues and error corrections
The website test coverage now includes the case where users apply shapes to default images, helping ensure this editing option continues to work reliably for restricted users. This reduces the risk of regressions in website editing behavior after related fixes.
Original PR description
Follow-up of [1]. It introduced a fix for restricted users to be allowed to add shapes on images. However, starting from Odoo 18.1, the fix stopped working when applying shapes on *default* images. This is apparently because of [2], which was now fixed by [3]. This commit extends the test that was made in [1] to take that extra case that got broken into account. [1]: https://github.com/odoo/odoo/commit/9c9c58a5a10101532cbf046d21d4a63c2b7d2838 [2]: https://github.com/odoo/odoo/commit/57a72d2e9a9a3d6e9f4724848813cad1ff2f9230 [3]: TODO
This fixes an upgrade issue where spreadsheet sorting by a measure could be ignored after a recent data format change. Business users will see existing spreadsheets keep their intended sort order after migration.
Original PR description
Commit 88473425583e31269ec892fbc3a491050b9b8e80 changed `sortedColumn.measure` that was the field name `'expected_revenue'` to the fully qualified measure id `'expected_revenue:sum'` However, the spreadsheet client-side upgrade forgot to change that. As a consequence, the sorting was just ignored. Task: 4818107 --- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr