Daily updates from Odoo
Friday, February 18, 2022
3 changes · master
Enhancements to existing features
The mock server used in tests now returns records in the same predictable order as the real system, including more complex sorting rules. This improves test consistency and better reflects real customer behavior, with related spreadsheet document tests updated accordingly.
Original PR description
This PR is the enterprise counterpart of a PR of the same name. Said PR orders the records coming from the mock server the same way they are ordered by the ORM, while also allowing it to support multiple levels of orderby. This has been done to increase consistency in the test suite and provide a more accurate representation of how records would be returned by the actual server. Some tests performed their assertions based on this previous undeterministic system and have been adapted, either by altering the base setup or the assertions themselves. Community: https://github.com/odoo/odoo/pull/84718
This update adjusts automated test setup across messaging and related business apps so tests can prepare data asynchronously. It helps keep quality checks reliable as the mail features evolve, with no direct change expected for end users.
Original PR description
community: https://github.com/odoo/odoo/pull/84845 task-2767820
Dashboards now use the shared sizing setting for embedded pivot views, helping reports fit more consistently in their dashboard layout. This is a small visual improvement that reduces layout inconsistencies for users viewing pivot-based dashboard content.
Original PR description
Prior this commit the width of the Pivot view was managed by different width properties in css. Now we use a css variable to manage the width depending on the context. This commit updates this variable when the Pivot view is embedded in a Dashboard view. Requires: - https://github.com/odoo/odoo/pull/82575 task-2731553