Thursday, February 29, 2024
3 changes · 17.0
Resolved issues and error corrections
The date range picker interface has been improved to better align the apply button and add a cancel button for easier dismissal. Users can now close the date picker by clicking a cancel button, in addition to pressing ESC or clicking outside the popup, making the interface more intuitive and user-friendly.
Original PR description
Current behaviour - when we access the daterange picker, it was observed that the `apply` button appeared flatter and was not vertically centered. Expected behaviour - add h-100 on buttons container to ensure they are vertically centered and no longer appear flatter - add cancel button in which action is similar to pressing ESC or clicking outside the popover Task-3624556 --- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
This update fixes a test failure that occurs on February 29th in leap years. When calculating inventory dates for items without a specific cyclic inventory location, the system defaults to the company's annual inventory date. On leap years, this calculation incorrectly adjusts February 29th to February 28th of the next year, causing the test to fail. This fix ensures the test properly handles this edge case.
Original PR description
For a quant without a cyclic inventory location, the inventory date is defaulted to the company's annual inventory date. In these test, this date is set to today, which means that the quant inventory date will be computed to next year, taking into account leap years. This means that on the 29th of february, the inventory date would be computed to the 28th of february of the next year. This causes the test to fail since it compares the inventory date day with the company's annual inventory date day, which in this specific use case will not match. --- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
This update addresses an intermittent timing problem in the messaging module's call testing suite. The fix applies a standard correction to ensure tests run more reliably by properly using the updated test helper. While the issue is difficult to reproduce consistently, this change follows established best practices to prevent similar timing-related test failures.
Original PR description
Not a guaranteed fix (not reproducible 1500 attempts), but applying standard fix for `step` failing to use the new step helper. runbot-54560