Daily updates from Odoo
Friday, January 12, 2024
4 changes · master
Enhancements to existing features
The grid view now automatically scrolls to show the relevant day when viewing a month, especially when that day falls near the end of the month. This reduces manual scrolling and makes planning or reviewing monthly data easier for users.
Original PR description
In grid view, when the range is "month", the last column-days are not visible: you have to scroll left to see them. With this commit, when today (or its equivalent date on whatever month you're looking at) is at the end of the month, we automatically scroll to make it visible. task-3483742
Resolved issues and error corrections
This corrects a demo holiday date in Belgian payroll to prevent two public holiday records from overlapping. It helps keep holiday data consistent and avoids confusion in payroll or time-off calculations that rely on these dates.
Original PR description
resource_public_time_off_be was coliding with resource_public_holiday_republic_day_in To avoid this, fix the date_from on public holiday
Miscellaneous changes
Steps to reproduce: - Go to my timesheets - Total cell is colored in black instead of (red, green, orange) according to its {down, no, over}time. Source: - Commit 9a27926 changed the cell bg color from t-att-class to class. So the override of t-att-class added in commit 858ee74 to override the bg color is not working as expected. bg-400 is applied instead as its still in class. Fix: - bg-400 is moved again to t-att-class and a js test was added to make sure we be alerted about regressi
Original PR description
Steps to reproduce:
- Go to my timesheets
- Total cell is colored in black instead of (red, green, orange) according to its {down, no, over}time.
Source:
- Commit 9a27926 changed the cell bg color from t-att-class to class. So the override of t-att-class added in commit 858ee74 to override the bg color is not working as expected. bg-400 is applied instead as its still in class.
Fix:
- bg-400 is moved again to t-att-class and a js test was added to make sure we be alerted about regressions next time in timesheet_grid.
task-3632025
Forward-Port-Of: odoo/enterprise#52649Before this commit, at belgium payroll's installation, credit time was a paid work entries Now, it's an unpaid work entries for CP200 structure. task : 3598821 Forward-Port-Of: odoo/enterprise#50794
Original PR description
Before this commit, at belgium payroll's installation, credit time was a paid work entries Now, it's an unpaid work entries for CP200 structure. task : 3598821 Forward-Port-Of: odoo/enterprise#50794