Monday, March 25, 2024
2 changes · saas-17.1
Resolved issues and error corrections
This update brings the spreadsheet component to the latest maintenance version for Odoo 17.1. It fixes several user-facing issues around formula entry, autocomplete behavior, menus, styling, undo/redo after pasted figures, and formula evaluation, making spreadsheet work more reliable and consistent.
Original PR description
### Contains the following commits: https://github.com/odoo/o-spreadsheet/commit/5fb076ee [REL] 17.1.9 https://github.com/odoo/o-spreadsheet/commit/efcfee2a [FIX] Composer: weird behavior of…
### Contains the following commits: https://github.com/odoo/o-spreadsheet/commit/5fb076ee [REL] 17.1.9 https://github.com/odoo/o-spreadsheet/commit/efcfee2a [FIX] Composer: weird behavior of autocomplete dropdown https://github.com/odoo/o-spreadsheet/commit/ecee8ed1 [FIX] formula assistant: localize argument separator Task: 3789860 https://github.com/odoo/o-spreadsheet/commit/5cae6b65 [FIX] Composer: force light mode of the formula assitant Task: 3806513 https://github.com/odoo/o-spreadsheet/commit/0026008c [FIX] cf_editor: remove broken css rule Task: 3806513 https://github.com/odoo/o-spreadsheet/commit/5b451013 [FIX] Spreadsheet: split button style to form/color https://github.com/odoo/o-spreadsheet/commit/57270850 [FIX] TopBar: Remove hidden functions from the `insert` menu Task: 3810284 https://github.com/odoo/o-spreadsheet/commit/82f397a6 [FIX] FigureComponent: Undo/Redo broken after pasting figure https://github.com/odoo/o-spreadsheet/commit/e387ddb8 [FIX] package: saas-17.1 is no longer the latest version https://github.com/odoo/o-spreadsheet/commit/dd56c932 [FIX] evaluation: accept 1x1 result array in sub-formula
This update fixes an issue where a chat could incorrectly show a new unread message immediately after the user sent one, especially on slower connections. The change keeps Discuss message counters accurate and avoids confusing users with false unread notifications.
Original PR description
Before this PR, a race condition occurred when posting a message: if the bus notification was received before the result of the message post RPC, the unread counter was set to the number of messages in the channel. This occurs because the `discuss.channel.member/seen` notification is processed before the `discuss.channel/new_message` one so the message is not yet inserted in `thread.messages`. Steps to reproduce the issue: - Go to discuss as admin - Open a chat with demo - Set network throttling to "fast 3g" - Send a message in the chat - The unread counter is now set to "1" which is incorrect