Daily updates from Odoo
Monday, July 8, 2024
3 changes · saas-17.2
Resolved issues and error corrections
This update brings the spreadsheet component to a newer version with several fixes for common spreadsheet actions. It improves reliability when deleting rows, pasting content, using number formats, charting cumulative data, and working with broad cell references, reducing user-facing errors in spreadsheet workflows.
Original PR description
### Contains the following commits: https://github.com/odoo/o-spreadsheet/commit/acfb3e71e [REL] 17.2.15 Task: 0 https://github.com/odoo/o-spreadsheet/commit/6ea19c264 [FIX] border: bottom sheet…
### Contains the following commits: https://github.com/odoo/o-spreadsheet/commit/acfb3e71e [REL] 17.2.15 Task: 0 https://github.com/odoo/o-spreadsheet/commit/6ea19c264 [FIX] border: bottom sheet borders removed on DELETE_ROWS Task: 3911695 https://github.com/odoo/o-spreadsheet/commit/6497e8c6a [FIX] locale: handle undefined thousands separator Task: 0 https://github.com/odoo/o-spreadsheet/commit/c2d6eab35 [FIX] chart: cumulative not working for linear charts Task: 4028957 https://github.com/odoo/o-spreadsheet/commit/f00e760ee [FIX] grid: prevent paste default Task: 3949903 https://github.com/odoo/o-spreadsheet/commit/a59ed517f [FIX] parser: `parse` should handle unbounded references Task: 4010920 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 stops the web interface from registering the same template extension more than once. It reduces the risk of unexpected crashes when duplicate frontend assets are loaded, improving stability for users.
Original PR description
Before that commit, it was possible to register several times the same template extension. This can lead to crash in some occasions. For example consider the template
```xml
<t t-name="A">
<div attr="a" />
</t>
```
and its extension
```xml
<t t-name="B" t-inherit="A" t-inherit-mode="extension">
<xpath expr=".//div[@attr='a']" position="attributes">
<attribute name="attr">b</attribute>
</xpath>
</t>
```
In that case, when building the template A with B registered twice, the first application of B to A will succeed while the second application will cause a crash (no target found for the xpath).
Here we prevent multiple registering of the same template extensions. Note that this is similar to what happens when the same js module is received several times: odoo.define has no effect after the first registering.The message composer now displays recipient names and joining words with proper spacing in the chatter. This makes the recipient list easier to read and avoids a small visual glitch when sending messages.
Original PR description
Before this commit the recipients list displayed when sending a message on the chatter missed spacing between the recipients and conjunctions. This happens because the container has display flex which removes whitespace from child elements. This commit fixes the issue by wrapping the list in a div tag so to preserve the whitespace. task-4032550 Before:  After: 