Tuesday, April 4, 2023
12 changes · master
Resolved issues and error corrections
An unused calculated field in Manufacturing work orders was removed because it could trigger a database number overflow error. This reduces the risk of unexpected failures without changing normal user workflows.
Original PR description
This field is only computed, never used, and can cause a PostgreSQL "NumericValueOutOfRange: integer out of range".  --- OPW-3253333 PR for stable: https://github.com/odoo/odoo/pull/117590 --- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
This update fixes automated walkthrough tests for two-step verification that were failing after a profile dialog change. It helps keep quality checks reliable so future updates to account security flows can be validated correctly.
Original PR description
This commit fixes the totp tours which fail on a step in the profile dialog. The step searches for an element ".o_dialog_container" that is removed since commit e51112e0df7f5e05d3cdf2c01d236c6bbbf123a6
A bug in the Mail app could cause public Discuss conversations to crash when a new message arrived before the user's identity was fully loaded. This fix makes message handling more reliable and prevents interruptions for users joining or viewing public discussions.
Original PR description
This may happen when receiving a new message without setting the self persona yet. Fix runbot issue 19975
Spreadsheet pivots and lists now automatically show clear black borders around header areas and total rows. This makes inserted tables easier to read when header backgrounds are close in color to grid lines.
Original PR description
### Description of the issue/feature this PR addresses: The problem is that when users insert pivots/lists, because the background color of headers is close to the grid line color, the border of cells becomes almost invisible. ### Current behavior before PR: See above. ### Desired behavior after PR is merged: When inserting pivots/lists, the cells in header zone will automatically have borders. task [3103403](https://www.odoo.com/web#id=3103403&cids=1&menu_id=4720&action=333&active_id=2328&model=project.task&view_type=form) --- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
This fix ensures the Belgian localization demo setup does not block or replace demo accounts created by other modules. It helps demo environments work correctly when Belgian accounting is used together with modules such as payroll accounting.
Original PR description
Other modules (i.e. `hr_payroll_account`) might also be creating demo accounts, do not prevent that. Description of the issue/feature this PR addresses: Current behavior before PR: Desired behavior after PR is merged: --- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
Mail notifications no longer assume every visitor is signed in as an internal user. This prevents errors for guest users, helping shared discussions and portal-style interactions continue smoothly.
Original PR description
Some code in handle notification wrongly assumes `store.user` is set, as it reads `user.id`. This is correct when the user is authenticated as an internal user, but for guests this is incorrect. This commit adapt code of handling notifications so that `store.user` can be undefined for guests. Fix runbot issue 19978
The mail app no longer logs an unnecessary warning when emoji data is not loaded before a short automated flow ends. Users still see the existing failure message if emojis cannot load, while internal test systems avoid false failure alerts.
Original PR description
This happens intentionally on tours that finishes successfully before the emojis are fully loaded. Notably short tours like public discuss page show this case. The console.warn still trigger unhappy runbot. Functionally the emoji picker shows "Failed to load emoji", so this warning becomes useless. Fix runbot issue 20081
This update fixes incorrect data lookups in the public live chat interface that could trigger errors while visitors use chat. It helps keep the live chat window stable and reliable for website users and support teams.
Original PR description
- non-field read "__parentedMixin" on record(PublicLivechatView_1) - non-field read "model" on record(PublicLivechat_1) - non-field read "isFolded" on record(PublicLivechatWindow_1)
The live chat startup flow was adjusted to avoid an unnecessary failure during page loading. This should make the website chat button and chatbot experience more reliable for visitors, with no expected change to normal business workflows.
Original PR description
*: website_livechat
This fix ensures frontend services are only deployed and started once, even when several services register at nearly the same time. It reduces the risk of duplicate initialization that could cause inconsistent behavior in areas such as live chat, mail, surveys, and website interactions.
Original PR description
Before this commit, it was possible to deploy services more than once. This happened in case the root widget was about to deploy and start the services, and more than one service was registering itself during a next tick. Services must be deployed and started only once. This commit ensures that if many services are added in this scenario, the services are deployed and started only once. Task-2878911
Selecting an emoji in the mail composer now keeps the cursor where the user was typing instead of moving it to the end of the message. This makes composing messages smoother and avoids extra editing when adding emojis mid-sentence.
Original PR description
This commit fixes the caret location after selecting an emoji Previously that location was reset to the end of the input every time an emoji was inserted
The demo Partner Spreadsheet now shows borders around pivot and list headers. This small visual fix makes the sample spreadsheet easier to read and better presented for users exploring Documents Spreadsheet.
Original PR description
This PR adds borders for headers of pivot and list in the demo spreadsheet (Partner Spreadsheet Test). task [3103403](https://www.odoo.com/web#id=3103403&cids=1&menu_id=4720&action=333&active_id=2328&model=project.task&view_type=form) See the changes in community: https://github.com/odoo/odoo/pull/117493