Thursday, June 27, 2024
2 changes · master
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