Daily updates from Odoo
Thursday, March 6, 2025
14 changes
3 changes
Resolved issues and error corrections
Users can now paste attachments into a Knowledge article comment without triggering a server error. This ensures the comment thread is prepared before the attachment upload starts, making the commenting experience smoother and more reliable.
Original PR description
Steps to Reproduce =============== 1. Go to the knowledge article 2. Insert a comment for any text 3. Paste an attachment It raises a server error Technical =============== As for the knowledge first comment's attachments, we patch the uploadData of attachment uploader hook. But the paste flow directly calls the uploadFiles. After this commit, we patch the uploadFiles to create thread before the attachments are uploaded. Follow-up fix of https://github.com/odoo/enterprise/pull/74871 Task-4331677
This update adjusts permissions so Odoo can properly remove the Worldline payment terminal support folder during IoT handler cleanup. It helps avoid maintenance or upgrade issues related to leftover Worldline files, with no expected change to everyday user workflows.
This fix reduces unnecessary repeated server requests in Odoo Studio when several actions happen close together. It helps keep the interface responsive and avoids extra backend load caused by small timing delays.
Original PR description
The community commit, adds an `onWillStart` to the `useService` hook that causes a very small delay. This commit modifies the `batched` function to prevent redundant server calls that could occur when multiple requests are made within a short time frame. Related to odoo/odoo#198539
11 changes
Resolved issues and error corrections
This update adjusts an accounting test so it works correctly when certain secured accounting access is assigned to users by default, such as in the German localization. It helps keep automated checks reliable without changing business functionality.
Original PR description
The test `test_account_group_account_secured` introduced in #197558 fails when the `group_account_secured` group is added by default to the users, as is the case in l10n_de. This fix modifies the test by checkign that the user groups didn't change after hashing moves from the only journal with 'Hash on Post', instead of checking that `group_account_secured` is not part of the user's groups. runbot-159826 --- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
Spreadsheet dashboard date filters now display their configured label, making it easier to tell similar filters apart. This helps users choose the correct filter when dashboards include multiple date-based controls.
Original PR description
Currently, the date filters do not have their title displayed in the `FilteValue` component which is an issue in dashboards where one could have multiple date filters defined and could not differentiate them. This revision adds the fiter label as a title such that users can identify the right filter given that they gave it an appropriate label. task-4606670 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 crash that could happen in the HTML editor when the selected content changed around links. Users can continue editing content more reliably without being interrupted by an error.
This fixes an error that could occur after hiding the website header on course pages. Users can now save pages with the header disabled without encountering a crash, improving reliability for website editing.
Original PR description
**Problem**: After commit [9cf7726](https://github.com/odoo/odoo/commit/9cf7726d0402353ccef551148010aaff8a2059be), `headerEl` can be `null` if the "Show Header" option is turned off, causing a traceback. **Solution**: Check if `#wrapwrap header` exists and ensure `headerEl` is not `null`. **Steps to Reproduce**: 1. Install **E-learning**. 2. Open **Website > Site > Courses**. 3. Open any course. 4. Switch to **Edit mode**. 5. In the editor menu, disable **"Show Header"** under **Theme > Advanced**. 6. Save. 7. A traceback occurs. opw-4565265 --- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
This fix keeps long channel member names contained within the member list in Discuss and Live Chat. It improves readability and prevents names from spilling into surrounding interface areas.
Original PR description
**Purpose:** to remove text overflow bug in the channel member name within the member list. **before :**  **after:**  --- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
This fixes how EDI proxy client key files are named when identifying details are not yet available. Instead of creating unclear names like `False_False.key`, the system now uses a more meaningful file name, making setup and troubleshooting easier.
Original PR description
In most cases, at this time of the process the edi_identification and the client_id are not known and the key's name end up to be `False_False.key`, which is not very descriptive. task-no **Before:**  **After:** 
The calendar view now correctly centers the red dot that marks today. This small visual fix makes the current date easier to identify and improves polish in back-end calendars.
Original PR description
This commit fixes vertical misalignment of today indicator in back-end calendars. task-4617623 | Before | After | |--------|--------| | <img width="1115" alt="Screenshot 2025-03-04 at 16 55 25" src="https://github.com/user-attachments/assets/b879fcb1-c416-44ea-956d-ce9c4c8328f2" /> | <img width="1095" alt="Screenshot 2025-03-04 at 14 17 45" src="https://github.com/user-attachments/assets/47e64b96-2ca2-4ec5-83ab-d3d8e133175d" /> | --- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
Fixed an issue where shortcuts to link and video documents could appear incorrectly in the Documents kanban view. Users will now see the proper preview format in My Drive, making shortcuts easier to recognize and use.
Original PR description
Steps to reproduce: 1. Upload a link and Video type documents 2. Create a shortcut 3. Go to My drive 4. Kanban card not displayed correctly Technical Reason: When creating a shortcut via 'action_create_shortcut', missing 'mimetype' and 'url' fields caused improper rendering of link/video shortcuts. After this commit: will display the proper format of the link/video. Task-4477679
This change makes a helpdesk knowledge test run reliably whether or not demo data is installed. It standardizes the admin user's signature in the test so automated checks are not affected by differences in sample data.
Original PR description
Before this commit, the `helpdesk_pick_template_as_message_from_knowledge` tour fails in no demo because the admin user is not named `Mitchell Admin` and so the step does not find the signature field. This commit adds the signature on the admin user to make sure the signature will be the same with demo data and without demo data.
Appointment confirmation emails are now properly translated when customers book through the website in Spanish. This improves the customer experience by ensuring booking details are communicated in the selected language.
Original PR description
Steps to reproduce: - Go to website and set the lang to Spanish - Book an appointment from the website Bug: The confirmation email sent to the customer is not correctly translated to Spanish opw:4382606
Fixed an issue where using the jump-to-target action from a shortcut document could fail to select the original source document. This makes navigation from shortcuts in Documents more reliable for users working in My Drive.
Original PR description
Steps to reproduce: 1. create a shortcut document in My Drive 2. select that document 3. click on the jumpToTarget button to access the source document 4. it won't select the source document / original document Technical Reason: When selecting a document, it was incorrectly assigning the wrong res_id to originalSelection. After this commit: will select the correct source document from the shortcut document. Task-4506244