Tuesday, September 10, 2024
10 changes · master
Resolved issues and error corrections
This fixes a visual issue in the HTML editor where an on-screen overlay could remain visible after the user scrolled outside the editing area. The change keeps the editing experience cleaner and prevents controls from appearing in the wrong place.
Original PR description
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 update makes SMS-related automated tests more reliable by ensuring the test environment has the SMS account setup it needs. It reduces inconsistent test failures, helping future SMS changes be validated with more confidence.
Original PR description
[IMP] sms: change MockSms to TransactionCase Change MockSms to inherit from TransactionCase and not BaseCase, so that the env would be available. [FIX] sms: create iap_account for tests Since https://github.com/odoo/odoo/commit/e57d2c7437fcde59b05e317be8e863aabd42e2d7 some test were failing due to an iap_account for sms already existing and sometimes it had to be created. To keep it consistent, it is checked, using the get function on iap_account model, if an sms account already exists, if not it is created.
The Maldivian rufiyaa currency symbol was changed from the old right-to-left character to "Rf". This avoids formatting and parsing problems in PDFs, monetary fields, and other places where currency amounts are displayed or processed.
Original PR description
This commit replaces the old Maldivian rufiyaa symbol (ރ) with Rf because ރ is a RTL symbol which causes a lot of parsing issues when handling it (in PDFs and monetary field among others). task-4095603
This update addresses an issue in the Events website area related to manually editing event page templates. It helps ensure business users can make intended website event changes more reliably while the work remains marked as in progress.
Original PR description
still in progress task-4014153
This fix prevents the Jordan localization demo company information from being created more than once. It keeps demo databases cleaner and avoids confusion from duplicate company records during testing or evaluation.
Original PR description
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
The HTML editor now handles extra spaces in styling settings when used inside an iframe. This prevents unexpected crashes and helps users continue editing content reliably.
Original PR description
Before this commit, if we have a Wysiwyg component in iframe mode that receives contentClass props with an extra space at the end, then the component crashes because it doesn't trim contentClass. 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 change reduces occasional false failures in automated checks for replacing images in the HTML editor. It helps keep development validation stable without changing what users see or how the editor works.
Original PR description
In this commit, we're trying to prevent the indeterministic fail of the ‘can replace an image’ test. This test fails 1 time by month. We think we need to wait for a tick to ensure that the selectionchange event occurs before the waitFor. Runbot: https://runbot.odoo.com/runbot/build/67699956 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 fixes a visual issue in the Website image gallery where the lightbox display for image walls no longer matched the redesigned gallery. The update restores the missing styling so visitors see a polished, consistent image viewing experience.
Original PR description
Since the redesign of `s_image_gallery` in 9042b1cae7b630b20e0670788b7a4ed9e4c97609, the style of `s_image_wall` lightbox was broken. This commit adapts this lightbox following the redesign of `s_image_gallery` and reintroduces the missing styles. task-4176685 | Before | After | |--------|--------| | <img width="1775" alt="Capture d’écran 2024-09-10 à 13 47 55" src="https://github.com/user-attachments/assets/72fa6829-def5-4d44-bdec-22bf3683502b"> | <img width="1789" alt="Capture d’écran 2024-09-10 à 13 48 46" src="https://github.com/user-attachments/assets/5305cf51-6123-49ae-9378-a6f9fa0193b6"> | --- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
Public visitors joining a meeting no longer see the chat window bubble intended for signed-in users. This prevents confusing or inappropriate chat options from appearing during guest meeting access.
Original PR description
**Current behavior before PR:** When starting a meeting by clicking 'Start a meeting', if a public user joined the call, the chat window bubble was incorrectly shown to them. **Desired behavior after PR is merged:** The chat window bubble is no longer displayed to public users when they join a call. **Task** - 4161614 --- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
This fixes an issue where users saw an error after removing a yearly cap from an employee leave accrual plan. HR teams can now update accrual plans more reliably without being blocked by a cap that is no longer set.
Original PR description
Steps to reproduce the issue: - go on an accrual plan - add a yearly cap on any level - save - remove the yearly cap - you get an error After this commit, the error no longer pops up, as it shouldn't since the yearly cap is not set.