Daily updates from Odoo
Tuesday, November 26, 2024
1 change · master
Resolved issues and error corrections
Planning views now expand grouped dates using the correct time interval for the selected scale, such as day, week, month, or year. This prevents misleading or incomplete planning results when users group schedules by scales other than week.
Original PR description
Before this commit: - _expand_domain_dates is usually using one week as timedelta for all scales leading to incorrect results for any scale different from "week". After this commit: - date_utils.get_timedelta is used to get timedelta according to the scale. task-4269657