Tuesday, November 12, 2024
10 changes · 18.0
Resolved issues and error corrections
A small typo was corrected in the Live Chat chatbot setup logic. This helps ensure chatbot step information is stored consistently and avoids issues caused by the earlier typo.
Original PR description
This PR fixes a typo introduced by this commit ce0f8d9e608acdcc6fd8495e7b9cd8f7d2757349. --- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
Muted mail notifications will now correctly hide the unread indicator. This prevents users from seeing misleading unread markers on conversations they have chosen to mute.
Original PR description
There was `opacity-0` on muted item, but due to `opacity-50` being mistakenly present at all time, it had precedence over the `opacity-0` thus the unread indicator was always visible. 
This fixes an internal automated test so it checks the intended shared behavior rather than only one specific implementation. It helps prevent false test failures when country-specific electronic invoicing extensions add their own data.
Original PR description
Fix a failing test that was incorrectly patching a class method, instead of patching the base object. Indeed, before this fix the test was only patching `account_edi_ubl_cii._get_ubl_cii_formats_info()` and not extensions such as `l10n_ro_edi._get_ubl_cii_formats_info()`). Therefore extensions could add data to the returned value of the method, and could make the test fail. Related runbot error id: 104916 task-no
Invoice document previews now show only the intended sample QR code when SEPA payment QR codes are enabled. This avoids confusing users during the print and send setup by replacing the real generated QR code in the preview instead of adding a second one.
Original PR description
Version: 18.0 Issue: With a valid SEPA bank account enabled, 2 QR codes are generated on the report invoice preview document. This is because we are xpathing to the `qr_code` element and adding a dummy qr code after for the preview. Purpose of this PR: To replace the generated QR code with the preview, dummy QR code for the preview wizard. Steps to Reproduce on Runbot: install a new company enable QR code in the settings set up a valid SEPA bank account for the bank journal create an invoice and click 'print & send' to trigger the Configure Document Layout wizard view 2 QR codes in the preview opw-4267407 I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
This fixes a test helper in the HTML editor so moving the text selection no longer rebuilds the page content when nothing has changed. It reduces unnecessary background updates during tests, helping keep editor testing more stable and efficient without changing user-facing behavior.
Original PR description
Before this commit, in the tests, when the setContent utils is used to move the selection, the entire html is recreated. This implies a set of unnecessary mutations in the dom. This commit will therefore prevent the creation of all these mutations by checking if the ‘content’ is different from that in ‘el’. 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
Odoo now shows a server-side warning when older Kanban view templates are used, helping teams identify views that need updating. This complements the existing browser warning and helps prevent deprecated configurations from being introduced unnoticed.
Original PR description
A new API for kanban templates has been introduced in [1], which deprecates the former API (the one defining a "kanban-box" template). A client side warning has been added when a legacy kanban view was met. However, there was a lack of server side warning, especially when a legacy kanban arch was introduced. This commit adds this warning. More information about the new Kanban API can be found in the documentation [2]. [1] https://github.com/odoo/odoo/pull/167751 [2] https://www.odoo.com/documentation/master/developer/reference/user_interface/view_architectures.html#kanban 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
This fix ensures website notification popups appear in the visible browser window even when visitors are scrolled down the page. It prevents important confirmations, such as newsletter signup messages, from being hidden at the top of the page.
Original PR description
Since [1], the notifications were not positioned properly anymore. Indeed, if the page was scrolled, the notifications were scrolled with it, meaning that they would not be visible at the top of the viewport as intended, but at the top of the scrolled body. Steps to reproduce: - Install website_mass_mailing - Go to your website homepage in edit mode - Add enough content to make the page scrollable - Add a "Newsletter" inner block inside the footer - Save - Scroll to your footer and register to the newsletter => A popup is shown but you can't see it (scroll to the top to see it). The solution is simple: the previous notification manager was positioned based on the fact the body is never scrolled (position: absolute), we now position it based on the viewport (position: fixed) as it could have already been. [1]: https://github.com/odoo/odoo/commit/189a7c96e6e26825dc05c0c6466576fe63aa091e Closes https://github.com/odoo/odoo/issues/186432 Related to task-4190506
The point of sale food delivery setup no longer pre-selects Glovo as the default provider, giving businesses a neutral starting point when configuring platforms. Order notes have been cleaned up by removing an extra bullet point, and the related settings label is clearer for users managing food delivery platforms.
Original PR description
Before this commit : - Glovo was selected as default delivery provider. - Extra Dot(Bullet Point) is visible in the Order notes - Label to be changed under Food delivery connector field. Following this commit : - Default delivery provider is removed. - Extra dot is been removed in order notes. - Label is been updated to Food Delivery Platforms. task - 4315841
This update fixes an internal automated test for document folder deletion that could fail when the expected test folder was not selected. It helps keep quality checks stable without changing how users delete folders in Documents.
Original PR description
The tour is failing because the test folder ("Folder1") is not always selected when starting the test with its access token. As the test is checking the folder deletion, we select the test folder manually by clicking on it.
Task-4247011This fix removes an incorrect warning shown around Web Studio kanban views after a naming change from "kanban-card" to "card". It helps avoid confusing users or administrators with a warning about something that no longer exists, with no expected change to business workflows.
Original PR description
The warning was erroneous as "kanban-card" doesn't exist, we renamed it into "card" [1]. [1] odoo/odoo#180999