Thursday, June 27, 2024
3 changes
1 change
Code cleanup and technical improvements
The HR Time Off module’s automated tests were updated to use a newer testing approach. This is an internal maintenance change that helps keep quality checks reliable without changing how users request or manage time off.
Original PR description
This commit aims to convert QUnit tests which rely on mail/test_utils to hoot. Part of task-3818666 --- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
2 changes
Code cleanup and technical improvements
Gantt views now receive progress bar information together with the main scheduling data, making progress display more consistent across affected apps. This also streamlines related view code and formatting so users see clearer progress values with less duplicated handling behind the scenes.
Original PR description
We make get_gantt_data return progress bar info along the main data (groups, records) as it has been done in https://github.com/odoo/enterprise/pull/64263 for unavailabilities. We have added a key "ratio_formatted" to the progress bars and simplified some gantt js_classes. The method gantt_progress_bar becomes private.
The spreadsheet-related modules now share a common way to load actions instead of maintaining separate duplicate logic. This reduces maintenance effort and helps keep behavior consistent across document spreadsheets, dashboard editing, and spreadsheet history views.
Original PR description
*documents_spreadsheet,spreadsheet_dashboard_edition