Friday, November 3, 2023
8 changes · 17.0
Resolved issues and error corrections
The attendance menu no longer shows a small non-zero value for today's hours when it should be zero. This prevents confusion for employees clocking in for the first time that day by correcting a rounding issue.
Original PR description
Due to rounding errors, the variable isFirstAttendance was not computed properly due to hours_today not being exactly 0, we apply a 3 digit precision rounding to solve this issue. task-3565209
Fixed an error that prevented Odoo Studio from opening from the Amounts to Settle view. Users can now customize this accounting view without encountering a traceback, improving reliability for finance teams using Studio.
Original PR description
Steps to reproduce: 1. Open the "Amounts to Settle" view of either the Customers of Vendors menu 2. Click on the Studio button on the top right of the window 3. A traceback appears. --- Issue/Feature this commits addresses: When on the "Amounts to Settle" view, when clicking on the Studio button, a traceback appears and the studio menu is not opened. This should not happen. --- Desired behavior after this commit is merged: This fix makes the event that would cause the error not possible anymore. The studio menu should always open and not cause that traceback anymore. --- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
This fix prevents guided tours from being started and resumed at the same time, which could cause conflicting behavior and multiple help prompts to appear. It makes the tour experience more reliable and avoids confusing duplicate tooltips for users.
Original PR description
Before this commit, tours could be resumed AND started in the same sequence, causing object mismatches in the tour service internals and resulting in multiple tooltips being displayed at the same time. This commit ensures that a tour instance can only be run once at a time. --- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
This update fixes minor typos discovered during translation work for Odoo 17. The changes improve wording consistency and translation quality in automated actions and website wishlist content without affecting business workflows.
Original PR description
Corrects typos found when translating Odoo 17. Enterprise: https://github.com/odoo/enterprise/pull/49981
After confirming stock transfers, action buttons now stay correctly separated instead of overlapping with the delete icon. This prevents visual confusion and avoids needing to refresh the page to see the correct layout.
Original PR description
Currently after confirmation on picking. The details operations button is mixed in the trash icon. The view needs a refresh to be correct. This is cleaned by moving all the buttons together and introducing the custom column before the last buttons group. 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
In self-ordering, customers can no longer interact with individual lines in past orders. This avoids unnecessary actions on orders that have already been paid, making the order history clearer and less confusing.
Original PR description
It's no longer necessary to interact with the orderlines in the order history because it's showing already paid orders.
This fix corrects a bug where WhatsApp message failure reasons were displaying an extra 'f' character at the beginning. When a WhatsApp message fails to send, users will now see the correct error message without the unwanted character. This improves the clarity of error reporting for failed message deliveries.
Original PR description
When the `failure_reason` comes from `webhookpost` then it adds an extra `f` to the message.
Steps to produce:
- Send a WhatsApp template to the phone number whose WhatsApp account has not been created to date
- Check `whatsapp.message` record
- failure_reason will have an extra f at starting
Problem:
`webhookpost` calls `_process_statuses` which calls `_handle_error` if status is failed. `_process_statuses` sends an extra `f` while sending `error_message` to `_handle_error`. Like `error_message=f"{error['code']} : f{error['title']}"`
Solution:
Extra `f` is removed. `f{error['title']}` is changed to `{error['title']}`
Task - 3576925
Forward-Port-Of: odoo/enterprise#50000
Forward-Port-Of: odoo/enterprise#49916This update fixes spelling and typing errors that were discovered during the translation process for Odoo 17. The corrections improve the quality and professionalism of the Knowledge and Sales Subscription modules by ensuring all text is properly spelled and formatted for users worldwide.
Original PR description
Corrects typos found when translating Odoo 17. Community: https://github.com/odoo/odoo/pull/140627