Tuesday, February 27, 2024
5 changes · 17.0
Resolved issues and error corrections
When permanently deleting a document from the trash, the file size displayed in the inspector was not updating correctly and would show a non-zero size even though the trash appeared empty. This fix reloads the data to ensure the file size is accurately recalculated after deletion.
Original PR description
How to reproduce: - Open the app document - Ensure the trash is empty - Select a document from any workspace (not too small so that the displayed size in MB is different from 0) - Move it to the trash - Open the trash - Select the document and click on delete in the inspector - Confirm the permanent deletion The inspector displays 0 documents but the size is different from 0 MB. This fixes the error by reloading the model forcing the re-computation of the size. Technical notes: no test has been added as the tour that test the deletion uses small documents which prevents to add assertion about the size (as the size is 0 even when a document is present in the trash). Task-3637482
Pricing lists are now restricted to individual companies by default in the system. This fix updates the subscription website tests to properly handle pricing lists that need to be shared across multiple companies, ensuring tests continue to work correctly with the new pricing restrictions.
Original PR description
Pricelists are now restricted to the current company by default. Some tests had to be adapted to keep some pricelists shared between companies. task-3610823 See odoo/odoo#147014
This update fixes a testing issue in the Web Studio approval tests that was causing failures when the system runs without demo data. The test data has been adjusted to work properly in both demo and no-demo environments, ensuring the testing suite runs reliably across different configurations.
Original PR description
Before this commit, the new class of tests for studio approvals crashed in without demo mode After this commit, it works as data used in the test have been adapted runbot-error-57997 runbot-error-57996
This fix removes the date that was incorrectly appearing in the sidebar of temporary system messages. Users will no longer see unnecessary date information on these transient messages, providing a cleaner and less cluttered messaging interface.
Original PR description
**Before this PR:** Squashed transient messages had date displayed in the sidebar of the message. This was introduced by this commit: 631ae1c **After this PR:** Squashed transient messages would not have date in the message sidebar. --- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
This update fixes a visual issue in the HR Holidays calendar where mandatory days would lose their distinctive color when users hover over them in the month view. The fix ensures that mandatory days maintain their proper appearance even during interaction, improving the clarity of the calendar display.
Original PR description
Commit (1) introduced a fix on the mandatory day style. But it also creates another color issue: when we hover a mandatory day in the month view the mandatory color dissapears. This commit adapts the selector to handle this issue. (1): d75343d7d83ad56a7532038f01a2038c7e16f15f task-3758658 Part of task-3575827 | The issue | |--------| |  | --- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr