Friday, August 9, 2024
14 changes · 17.0
Resolved issues and error corrections
Editing a message now preserves any channel mentions that were already included. This prevents important conversations or groups from being accidentally dropped when someone updates a message.
Original PR description
When editing a message, the mentions of the original message were lost. The reason is that the channel mentions were not stored with the message in the database. The fix is to parse the body directly before editing and get mentionedChannels from it. task-4104895 --- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
The Bangladesh localization tax report name was corrected to remove a duplicated “(BD)” label. This prevents confusing duplicate country markers in accounting reports and keeps report names clear for users.
Original PR description
[FIX] l10n_bd: Fix tax report name There is an issue with the name of the tax report, '(BD)' in the name is duplicate. So, Fixed it in this task task-id#3974212 enterprise-pr#https://github.com/odoo/enterprise/pull/66236 --- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
This fix ensures snailmail document styling is applied correctly when multiple companies are configured. It prevents layouts from breaking for companies other than the first one, improving consistency for users in affected locales such as Japan.
Original PR description
It was reported that on some locales (eg) Japan the snailmail styling was not properly applied. This was due to the selector in snailmail styling which was incorrect for a multi-company setup. Targeting `.o_company_1_layout` will break the selector for any company which is not the first one. task-4099258 --- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
This change reverts a recent adjustment to how product images and media were displayed on the website shop. It restores the more prominent image presentation that customers preferred, avoiding an unwanted visual change outside the original ticket scope.
Original PR description
In this commit (https://github.com/odoo/odoo/commit/464090d8da5e7bc59a3afe4764b9235022ee75cd), we made the container for product images and media elements responsive. However, multiple clients did not appreciate the changes and like the images being highlighted. Additionally it was not the main focus of the ticket. opw-4056701
The time off dashboard now checks the selected employee's accrual allocations instead of the logged-in user's. This ensures managers or HR users can see and use the date picker when viewing an employee who has accrual-based time off, even if their own profile does not.
Original PR description
steps: - be connected as someone with no accrual - give accrual allocation to an employee - go to his time offs using the smart button on his employee profile -> no settings to set the date, has_accrual_allocation is false because our user's employee doesn't have accrual allocation expected -> see the date picker on the leave dashboard if the employee has accrual allocations, not the connected user
Dragging an event in the calendar month view now keeps its original time instead of resetting it. This prevents scheduling mistakes and gives users a more reliable calendar experience.
Original PR description
Specification:
The time should not be reset when dragging an event in the month view.
Observed behavior:
Time is reset when dragging an event in month mode.
Task-3432065Refreshing a survey while on a skipped question now keeps the survey flow intact. This prevents users from encountering errors and helps them continue completing surveys without disruption.
Original PR description
If you were to refresh on a skipped question, the next_page_or_question would not be populated therefore causing any reference to this fail. There should not be a case where there is no next_page_or_question in _prepare_survey_data as the _get_next_page_or_question is only expecting an empty question in survey_submit. Adding a fallback to look for the next skipped question or page for when the next_skipped_page in the post parameter is lost in the http request through refreshing will allow this to work as expected. opw-4088129
The percent pie widget no longer shows a duplicated field name after the chart when created with Studio. This makes forms cleaner and easier for users to read.
Original PR description
Specification: when creating a widget percentpie with Studio, the field's name has been added after percent pie, which is not user-friendly.  Expected behavior: The duplicate label should not be visible. Task-3942207
A sales-related field was moved out of the general Point of Sale area and into the POS Sales module where it belongs. This prevents configuration or runtime issues when Point of Sale is used without the sales integration installed.
Original PR description
A field from sale was used in point_of_sale. Introduced here https://github.com/odoo/odoo/pull/173389 opw-4005925-1 --- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
Point of Sale reports now include cash in or cash out activity even when there are no other cash transactions in the session. This ensures managers see a complete and accurate cash report for each session.
Original PR description
Before this commit, performing a cash in/out operation in a session without any other cash transactions would result in the cash in/out not appearing in the report. It will become like this:  opw-4076188 --- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
Point of Sale now shows a clearer error when a product kit uses unit conversions that round down to zero quantity. This helps staff and support teams identify the affected unit-of-measure setup faster when closing a PoS session.
Original PR description
Before this commit, when using a product in a kit with a smaller unit of measure than the base product UoM, and the conversion resulted in a zero quantity, an unclear error message was displayed upon…
Before this commit, when using a product in a kit with a smaller unit of measure than the base product UoM, and the conversion resulted in a zero quantity, an unclear error message was displayed upon closing the PoS session: "Quantity or Reserved Quantity should be set." This error message lacked sufficient information, making it difficult to diagnose the issue, especially with multiple orders. This commit enhances the error message to clearly indicate the cause of the problem, providing specific details about the UoM conversion that resulted in a zero quantity. To reproduce the issue: 1. Create a product with a base UoM in kilograms (kg). 2. Include this product in a kit with a UoM of grams (g). 3. Set the rounding precision for both UoMs to 0.01. 4. Sell one kit through the PoS. The error would occur due to the quantity conversion from grams to kilograms resulting in zero, given the rounding precision settings. opw-4084783 --- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
Sale order searches in Point of Sale now correctly handle customer names containing special characters such as ampersands. This helps staff find the right orders reliably, reducing missed results and search frustration.
Original PR description
Before this commit, searching for a sale order with a partner name containing special characters (e.g., &) would fail to correctly filter the sale orders. This commit ensures that partner names with special characters are properly handled, allowing for accurate sale order searches. opw-4062365 --- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
This fix prevents the Point of Sale from failing when the optional Sales integration is not installed. It checks that the related sales order line information exists before using it, improving reliability for businesses running POS without that extra module.
Original PR description
Issue found when following [tests](https://runbot.odoo.com/runbot/build/66632082) broke We need to make sure that sale_order_line_id exists in pos, as if pos_sale is not installed on database, it will crash. --- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
This update corrects two small website editing issues: field category labels now have proper spacing, and the product description option once again shows its helpful tooltip. These fixes make page editing clearer and more polished for users managing website content.
Original PR description
#### Commit 1: [FIX] web_editor: added left padding on we-title inside a selection The two categories (Custom Fields, Existing Fields) inside field type (when editing a field) were missing left padding. #### Commit 2: [FIX] website-sale: changed Prod. Desc. string to make appear tooltip Product Description was missing tooltip when editing a product page due to the string already being shortened task-4080745