Saturday, February 22, 2025
1 change · saas-18.2
Resolved issues and error corrections
This fixes Gantt chart sizing so folded columns display with the correct width and scrollbars behave consistently. It also stabilizes related automated checks, reducing the chance of false test failures during development.
Original PR description
Following https://github.com/odoo/enterprise/commit/7de3281404c5e416c1c563cc56bd780e6414d682, column width calculations became incorrect as they didn't account for the fixed 36px width of folded columns. This could result in a scrollbar with varying width and cause a misleading display when only a single folded column was visible. The minimum column width in the month range was also adjusted to reduce rounding inconsistencies. Second commit fixes the pill resize test by allowing extra time for the badges to update before releasing the handles. The test previously failed intermittently because the badge text was incorrect, as it didn't have enough time to process all drag action events before being checked.