Friday, October 18, 2024
5 changes · saas-17.4
Resolved issues and error corrections
The self-order flow now handles products with multiple selected options without triggering errors. This helps customers complete orders more smoothly and reduces interruptions during checkout.
Original PR description
This commit addresses an issue where selecting multiple attributes for a product in the self-order service could lead to errors. opw-4253601 --- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
Fixed an issue where switching between to-do records while image content was still saving could overwrite the next record with the previous record's content. The editor now waits for an ongoing save to finish before moving on, helping preserve each record's correct information.
Original PR description
Issue: ====== Going to next record in to do overrides the next record content with the older one. Steps to reproduce the issue: ============================== - Go to do and create 2 to-dos - Add an…
Issue: ====== Going to next record in to do overrides the next record content with the older one. Steps to reproduce the issue: ============================== - Go to do and create 2 to-dos - Add an image using copy paste - Go to next record using the pager - The record has the same content as the first one Origin of the issue: ==================== The main reason behind the issue is a race condition. Basically there are 2 flows being executed in parallel: - First flow is from `onWysiygBlur` which calls commit changes and save image changes. Since we have an image in the content, it will take longer to finish. the commit that was called now is fron emty content to the base64 image. - The scond flow comes from the pager update which finds the content dirty because its old content is the base64 image ans its new content is the image with the url so it will call commit changes itself and it will load the next id. - Currently we have the `_update` of the `commitChanges` from the `blur` event isn't done yet but we already changed the id of the record to the id of the new recod (comes fron pager). - Now when the `_update` of the old `blur` event is executed, it will update the body of the new record and not the old record. Solution: ========= If the html field is already saving sonething we wait for it first. so In our case, the commit changes of the paged will do nothing since it will wait for the one of the `blur` event and the editable after it will be not dirty. task-4082860
Invoices using the German DIN 5008 layout now show the correct invoicing and shipping address instead of only the shipping address. This prevents customer-facing invoice PDFs from displaying the wrong recipient details.
Original PR description
The invoice prints the "Shipping address" instead of the "Invoicing and shipping address."
Commit 6d36b38 moved `l10n_din5008` formatting logic from Python to XML, but the values were not set properly. Setting the `t-value` will resolve this issue.
To reproduce:
1. Create an invoice.
2. Assign an individual customer that has its company set.
3. Print it.
<details>
<summary>Click here to see</summary>
Before:
<img src="https://github.com/user-attachments/assets/4eb54685-f906-4c29-87b3-70015ca84b9a"/>
After:
<img src="https://github.com/user-attachments/assets/1889a202-420f-4128-aeb6-a47fc9cd3a2e"/>
</details>
upg-2092611
opw-4209922
---
I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-prUsers can once again connect or reconnect bank accounts from the accounting dashboard after a previous update removed that option. Existing journals can also be matched to new bank connections when key details like account number and currency align, reducing manual setup effort.
Original PR description
task-4182770
Users can now create a new spreadsheet from the All view in Documents and place it in another workspace without running into an access error. This removes a blocker in the document creation flow and keeps spreadsheet setup smooth across workspaces.
Original PR description
Steps to Reproduce: 1. Navigate to the Documents app. 2. Select "All". 3. Click "New" > "Spreadsheet". 4. Choose a different workspace. 5. Click the "Create" button, resulting in an `AccessError`. The issue was caused by passing the ID as a string in the `orm` call to the `action_open_new_spreadsheet` method. This has been corrected by passing the ID as a number instead. Task: [4215415](https://www.odoo.com/odoo/project/2328/tasks/4215415)