Friday, June 14, 2024
3 changes · saas-17.1
Resolved issues and error corrections
This fixes the Resource Time Off form so users can choose start and end dates separately again. It prevents the end date from being automatically reset when users need to schedule time off for more than one day, while still keeping the usual one-day default behavior.
Original PR description
Issue: At some point we added the daterange widget to select the dates for the resource leaves without taking into account certain cases, the most relevant is that we have a compute_date_to which…
Issue: At some point we added the daterange widget to select the dates for the resource leaves without taking into account certain cases, the most relevant is that we have a compute_date_to which depends on the date_from, the duty of this compute is that whenever we select a date_from, we will get the date_to to allocate exactly 1 day, which is the most common use, the problem is that with this widget we will always modify both date_from and date_to at the same time, making the compute to be called everytime which will not allow us to select a further date for date_to. Steps to reproduce: 1. Install Appointments. 2. Go to Configuration > Resource Leaves > New 3. Try to allocate more than 1 day for the Resource Time Off Solution: We should, at least for the moment, keep it as it was before, where we can select both dates separetely, this way whenever we select our date_from we will get the date_to updated automatically to make things easier for the most common case, but we will still be able to change the date_to without triggering the compute. opw-3861325
This update brings the spreadsheet component to the latest 17.1 release and fixes several usability issues. Users should see more reliable collaboration saving, better popover placement, and correct figure sizing when frozen panes or scrollbars are used.
Original PR description
### Contains the following commits: https://github.com/odoo/o-spreadsheet/commit/8a74f95d6 [REL] 17.1.19 Task: 0 https://github.com/odoo/o-spreadsheet/commit/ea63f3ff5 [FIX] Figure: Fix container…
### Contains the following commits: https://github.com/odoo/o-spreadsheet/commit/8a74f95d6 [REL] 17.1.19 Task: 0 https://github.com/odoo/o-spreadsheet/commit/ea63f3ff5 [FIX] Figure: Fix container size in presence of frozen panes Task: 3976086 https://github.com/odoo/o-spreadsheet/commit/59c26d249 [FIX] collaborative: snapshot only when no pending changes Task: 0 https://github.com/odoo/o-spreadsheet/commit/a44ca4033 [FIX] popover: popover position with scrollbar Task: 3981551 https://github.com/odoo/o-spreadsheet/commit/ea5dacb64 [FIX] ComposerStore: missing previous range Task: 3972392 https://github.com/odoo/o-spreadsheet/commit/7cdef81d1 [FIX] data_validation: wrong popover position Task: 3981399 https://github.com/odoo/o-spreadsheet/commit/da2fcc246 [FIX] index: export deepEquals Task: 3810369 https://github.com/odoo/o-spreadsheet/commit/9a0d86035 [FIX] collaborative: snapshot when leaving spreadsheet Task: 3940465 Co-authored-by: Anthony Hendrickx (anhe) <anhe@odoo.com> Co-authored-by: Alexis Lacroix (laa) <laa@odoo.com> Co-authored-by: Lucas Lefèvre (lul) <lul@odoo.com> Co-authored-by: Dhrutik Patel (dhrp) <dhrp@odoo.com> Co-authored-by: Adrien Minne (adrm) <adrm@odoo.com> Co-authored-by: Mehdi Rachico (mera) <mera@odoo.com> Co-authored-by: Rémi Rahir (rar) <rar@odoo.com> Co-authored-by: Pierre Rousseau (pro) <pro@odoo.com> Co-authored-by: Vincent Schippefilt (vsc) <vsc@odoo.com>
This fix prevents live chat sessions from crashing when conversation names include non-English or accented characters. It changes how ongoing chat data is stored so customers using browsers like Safari have a more reliable live chat experience.
Original PR description
The live chat uses cookies to save data about the ongoing conversation, such as the thread name. When this information contains non-ASCII characters, the behavior of the cookie is not consistent across browsers. Safari does not store it properly, and trying to parse it later on results in a crash. Until version 17 ([1]), the fix relied on encoding the data using the `encodeURIComponent` method. However, cookie size is limited to 4096 bytes and this limit can be reached. Starting with version 17.3, the live chat does not use cookies anymore ([2]). This PR backport this behavior to fix the issue. opw-3968341 [1]: https://github.com/odoo/odoo/pull/168524 [2]: https://github.com/odoo/odoo/pull/167495