Thursday, April 2, 2020
3 changes · master
Resolved issues and error corrections
Fixed an issue where slowly zooming across an employee image could make the zoomed image disappear too early. The change improves the image preview experience by accounting for the full visible width, including borders.
Original PR description
Currently when zoom slowly from right to left on employee image it will not zoom the image. currently to hide the zoom image we used target.width() and the method width gives the width of the selected element (excluding padding, border and margin) so due to border excluded it will hide the zooming image. so instead of method width we used method outerWidth which gives width of the selected element (including padding and border, excluding margin). Task: 2199218 Closes: #46619 -- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
Calendar events in the month view are now displayed according to their scheduled time instead of the order they were created. This makes daily agendas easier to read and prevents later events from appearing above earlier ones.
Original PR description
Before this commit, events were sorted by ID in the month view. Events A occurring after event B would be placed on top of B. We force an event to be "allday" when the view is in month. So the sequence can't be on the time but on his ID. After this commit, we don't force the allday flag anymore Steps to reproduce: * Go in the calendar app * Insert a event at 12:00 * Insert a event at 8:00 * Insert a event at 14:00 * Go in view month the events are not sorted (BUG) Task Id: 2183249 -- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
Calendar month view entries are now sorted by their actual event timing instead of an internal ID. This prevents later events from appearing above earlier ones, making schedules easier to read and trust.
Original PR description
Before this commit, events were sorted by ID in the month view. Events `A` occurring after event `B` would be placed on top of `B`. Ticketid: 2183249 -- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr