Daily updates from Odoo
Tuesday, April 16, 2019
2 changes · master
Resolved issues and error corrections
Odoo Studio users can edit search views again after a recent change accidentally made them unavailable. This restores expected customization options for filtering and searching records in Studio.
Original PR description
Since rev. odoo/enterprise@520c017 it wasn't possible to edit the search view anymore.
Gantt schedule items now appear in the correct time slots on days affected by daylight saving time changes. This prevents confusing placement errors when a day has a missing or repeated hour, improving reliability for teams using planning views.
Original PR description
When we switch to DST, two unusual things happen: - One day is missing one hour (1pm then 3pm) - One day has the same hour twice (2pm then 2pm) Before this commit, pills were placed in wrong slots on those days because of the missing/duplicated slots. To fix this, I changed the way we insert pills into slots, which is now the same way we match pills into intervals for aggregation. Because the variable was named "pillsInThisSlot", I thought I could merge the two and only compute it once. However, one of them put pills into slots (the new one), while the other actually put pills into intervals (the existing one), so I changed the name of the existing variable to make the difference more obvious.