Tuesday, November 5, 2024
10 changes · 18.0
Resolved issues and error corrections
This fixes an automated test for the Maintenance calendar by ensuring it is in the correct monthly view before moving a recurring event. The change helps prevent false test failures and supports smoother ongoing quality checks without changing user-facing functionality.
Original PR description
In this commit, we add a check step to ensure the view is Month view before to drag and drop the item or drag and drop will be directly executed ... and tour fails. 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
Users can now create link tracking records without being asked to enter a tracked URL immediately. This removes an unnecessary step during setup while still allowing the URL to be adjusted later if needed.
Original PR description
#### Purpose We should not ask users to provide a tracked URL, it's supposed to be something you change afterwards if you want an extension that looks good. #### After this PR Removed required attribute, so it will not asked user a Tracked URL on record creation. Task-4279725
Website editors can once again adjust the layout and content width of standard carousel sections. This restores useful design controls that were accidentally removed during a prior carousel redesign, helping teams fine-tune page presentation without workarounds.
Original PR description
In commit [1], the carousels have been redesigned. However, with it, the "Layout" and the "Content Width" options have been removed from some of them. They can therefore not be toggled to grid mode anymore and their container width cannot be changed, which could have been useful now that the arrows can be hidden. This commit restores these options for the `s_carousel` snippet. Note that the `s_carousel_intro` one redefined these options, which is why it has them. The other ones (i.e. `s_image_gallery`, `s_quotes_carousel` and `s_quotes_carousel_minimal`) do not need them. [1]: https://github.com/odoo/odoo/commit/3deb8050831c69ca1e32039622b322ffa38cc497#diff-934f432382bbc5c89d776f677d71ef50392d8652b2e9fa7bba3ff39475b842ae task-4263725
Brazilian webshop orders now correctly trigger Avatax tax calculation during checkout. This prevents payment-blocking errors caused by missing goods operation details, helping customers complete online purchases successfully.
Original PR description
With a BR Company Setup: Settings > Website, assign 'My Website' to BR Company Configure Avatax Brazil in General Settings > Taxes > Avatax Publish the Product "Regular Consumable Product" to be available in the website. Open the web shop as Public User Add "Regular Consumable Product" to cart Go to checkout Fill valid Brazilian customer info Pay Issue: Error will popup ``` odoo.http: Odoo could not fetch the taxes related to S00040. It is not possible identify the CFOP ``` This occurs because the sales order is missing the "Goods Operation Type" and the call to Avatax is not done opw-4239483
Users who run into an Amazon onboarding issue now see a clear error page instead of a generic internal server error. This helps them understand what went wrong and reduces confusion during setup.
Original PR description
When an onboarding error occurred, the error page failed to render and the user would see "Internal Server Error" instead of a more helpful error message. The server error had two causes: - The original onboarding error not being properly cast to a string. - The onboarding return route not passing the lang code to the QWeb context.
The label for a document project validation action was corrected so it accurately says “Remove Tag Draft” instead of implying the draft tag is added. This helps administrators identify the right action more easily and avoids confusion when reviewing server actions.
Original PR description
The issue: The child of the server action "Ask for Validation, Add Tag Draft" should be named "Remove Tag Draft." How to reproduce the issue: - Go to Server Actions: Search for “Ask for validation”. - Open “Add tag draft” child action opw-4281732
Folders in Trash no longer open or redirect when double-clicked. Users are instead informed why the action is unavailable, reducing confusion and unnecessary navigation.
Original PR description
Disable double-click action for folders in Trash to prevent unnecessary redirection and inform the user with a valid reason. Task-4231365
The spreadsheet navigation bar now uses the correct translated label for “Spreadsheet.” This improves the experience for users working in languages other than English by making the interface consistent with their selected language.
Original PR description
The term "Spreadsheet" isn't translated in the spreadsheet nav bar Task: 4300455
This fixes failing automated tests in the Hong Kong payroll accounting area after recent changes to leave allocation rules and payslip validation behavior. The change helps keep payroll accounting checks reliable without affecting normal business workflows.
Original PR description
In-use leave type allocation cannot be changed recently. Cause the unit test failed here. Also validate payslip common method is refactor into hr_payroll_account. However it is slightly different behavior than the original util method, which caused the unit test failed as well. runbot-101710
Shared appointment pages without a website now display formatted introduction text as intended. This prevents customers from seeing raw HTML code when switching appointment types, improving the booking experience.
Original PR description
Steps to reproduce: 1. Install only appointments without having a website. 2. Create or use already existing appointments and share them. 3. Go to the share URL 4. Here we will see a dropdown and the description text of the appointment, try to change the value on the dropdown and see the text. The issue arises because `replaceChildren` treats strings as plain text, so HTML in `message_intro` is displayed as text rather than rendered as HTML. To resolve this, we use DOMParser to convert the `message_intro` string into HTML elements. This allows `replaceChildren` to insert actual HTML nodes instead of plain text, preserving the intended formatting. This issue was introduce in this commit https://github.com/odoo/enterprise/commit/9e38975d3f1e9dc87a3061c06ce9df7cf562949c. opw-4250366