Saturday, December 2, 2023
1 change · 17.0
Resolved issues and error corrections
Tasks in the planning view are now displayed in chronological order (by time of day) instead of appearing in random order. Previously, tasks were sorted by their internal ID, causing them to display out of sequence. This fix ensures that tasks appear in the correct time-based order for better readability and usability.
Original PR description
To reproduce ============ - on planning create task 1 from 08:00 to 09:00 - on same day create task 2 from 17:00 to 18:00 tasks will be ordered as follow: | DAY | |--------| | task 2 | | task 1 | Problem ======= when fetching records from server, we order them by `resId`, where we lost the chronological order Solution ======== reorder the recorders after parsing opw-3566735 Forward-Port-Of: odoo/enterprise#50040