Wednesday, August 28, 2024
7 changes · 17.0
Resolved issues and error corrections
Users can no longer accidentally paste multi-line text into fields that are meant to stay on one line. Line breaks are automatically converted to spaces, keeping data entry cleaner and preventing formatting issues.
Original PR description
This commit fixes an issue that allowed users to paste text containing line breaks inside of a no line break input (like text fields with line_break = False option). This is resolved by replacing line breaks by white spaces on input when the event originates from a paste action. Task 4130435
The signature shortcut in the message composer no longer causes an error when a user's identifier is stored in a different format. This helps users add signatures reliably while writing messages in the chatter.
Original PR description
Commit that introduced the issue: https://github.com/odoo/odoo/commit/1ffcea337ba463c383483ca53ff57aa6b725b5a2 Issue: ====== Traceback after signature command Steps to reproduce the issue: ============================= - Go to chatter - Open mail composer - type /signature + enter - traceback Origin of the issue: ==================== The change in the mentioned commit added an issue , becuase `user_id` isn't always a number sometimes it's an array. Solution: ========= We copy the same logic done here https://github.com/odoo/odoo/blob/fd830fd9171e52d379f82b4adee221a6cf83d8eb/addons/bus/static/src/services/bus_service.js#L125 task-4143860
Fixes an error that could appear when users flagged a forum question or answer without moderator rights. This keeps the forum interaction smooth and prevents users from seeing a technical crash message.
Original PR description
Purpose ======= Fix the traceback appearing when flagging a question or answer without being a moderator. Specification ============= The .forum_answer class has been removed from the element when doing the website_forum redesign (ref: https://github.com/odoo/odoo/commit/4b1cf2e06643171e5ae10ea44648c4db66d09319 ) The element is thus not found and a traceback occurs when trying to perform the animation. Now using the 'o_wforum_answer' element and making sure it exists before calling the animation. Task-4058832 --- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
This change makes an internal test less sensitive to unrelated extra log messages that can appear when other tests change language settings. It helps keep automated validation stable without changing customer-facing behavior.
Original PR description
In some cases, like when another tests activates a language, the log output can include an extra line. See an example here: https://runbot.odoo.com/runbot/build/66699073 After this commit, we only check for the logs we care about. See also: https://github.com/odoo/odoo/pull/175344 --- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
This update corrects how certain columns are hidden in event lead rule list views. It helps ensure the Event CRM and Website Event CRM screens display consistently and avoid visibility issues for users.
Original PR description
*= event_crm_sale, website_event_crm * -Probably miss by script since https://github.com/odoo/odoo/pull/104741/commits/332c117f60a36f723c450f61ce2e0e7181d66c21 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
SYSCOHADA should stay SYSCOHADA when translated task-4118393 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
Original PR description
SYSCOHADA should stay SYSCOHADA when translated task-4118393 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 fixes a test in the Peru stock reports module that was failing unpredictably due to inconsistent data ordering. By standardizing the order of data processing, the test now runs reliably every time, improving the stability of our quality assurance process.
Original PR description
Trying the test from l10n_pe_reports_stock, it failed locally, but somehow we are lucky it did not fail on runbot. The problem is that the order is not fixed and by fixing the order we avoid the indeterministic failing.