Thursday, June 6, 2024
2 changes · 17.0
Resolved issues and error corrections
This update removes unnecessary error messages that were appearing during automated tests for the room booking feature. The tests were trying to load background images for test rooms that don't actually exist, causing false error alerts. The fix cleans up these test errors without affecting how the feature works for real users.
Original PR description
Purpose: -------- The frontend room view uses the "background-image" property to add a background image if one has been set on the room. This causes several 404 errors in qunit tests because the test room does not exist, resulting in a "room not found" exception when the browser tries to get the background image. This commit patches the view in the tests to remove the url part of the background-image property, so that the background image is not fetched anymore. In order to make this patch possible, the background-image property value has been moved inside a getter. Task-3943099
This update corrects the spacing around percentage symbols displayed in the planning calendar event popover. When users click on calendar events to view details, the percentage indicator now displays with consistent, proper spacing for a more polished appearance.
Original PR description
Steps to reproduce: 1. Install the planning module and open it. 2. Open events in calendar view. 3. Click on any event. 4. In the calendar popover, observe the spacing around the percentage (%). Issue: There is inconsistency in spacing around the percentage (%). Solution: Add a space before the percentage and remove the space after it in the common calendar popover. task-3908815 Forward-Port-Of: odoo/enterprise#62083