Thursday, March 21, 2024
8 changes · 17.0
Resolved issues and error corrections
Deleting an order while the preparation display is active no longer triggers an error. This helps keep point-of-sale workflows running smoothly when staff remove orders.
Original PR description
Prior to this commit, an error would occur when an order was removed with the preparation display enabled. This error was due to the `process_order` expecting data as a dictionary, not a boolean, leading to a TypeError: 'bool' object is not subscriptable. opw-3815455
This fixes a problem where the preparation display could receive the wrong result when processing order changes. It helps keep kitchen or preparation screens accurate and reduces the chance of confusion during order handling.
Original PR description
The new method `_process_preparation_changes` was returning the wrong value in some cases. This commit fixes the return value to be the correct one.
This update adjusts how the WhatsApp integration handles logging when webhooks are called and the app secret is missing. Instead of marking these occurrences as errors, they are now logged as warnings, which better reflects that this is a normal operational situation rather than a system failure. This reduces unnecessary error alerts while maintaining visibility into these events.
Original PR description
Currently, log-level errors occur when WhatsApp webhooks are called, and the app secret may be missed. This commit changes 'logger.error' to 'logger.warning' since this is not an error in the codebase. sentry-4482005357 Forward-Port-Of: odoo/enterprise#47521
This update resolves a display issue in the Knowledge module where status icons were overlapping with the menu in embedded views. The menu now displays correctly on top of the icons, improving the user interface and making the application more usable.
Original PR description
**Before this PR:** Status icons in the embedded view were overlapping with the menu. **After this PR:** The issue has been resolved, and now the menu is displayed correctly over the icons. **Task**-3717057 Forward-Port-Of: odoo/enterprise#56926
Fixed an issue in the web editor where table cells remained selected even after using arrow keys to move the cursor. Users can now properly deselect cells by navigating with arrow keys, improving the editing experience when working with tables.
Original PR description
**Current behaviour before commit:** After selecting cells in table, moving cursor through arrowkeys doesn't deselect cells. **Desired behaviour after commit:** Now cells are getting deselected. task-3718716 --- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr Forward-Port-Of: odoo/odoo#153365
Project update descriptions can now be edited collaboratively by multiple team members, just like other project fields. This improvement was previously overlooked when the collaborative editing feature was implemented, and this fix ensures consistency across all project update fields.
Original PR description
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 Forward-Port-Of: odoo/odoo#157954 Forward-Port-Of: odoo/odoo#157817
This update removes the background color from CRM enrichment email messages so they display properly in both light and dark mode themes. This improves the visual consistency and readability of automated enrichment emails sent to users regardless of their interface theme preference.
Original PR description
Removed background color of crm enrich mail messages, so that they look good on both light and dark mode Related task: 3541419 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 Forward-Port-Of: odoo/odoo#158119 Forward-Port-Of: odoo/odoo#158003
Miscellaneous changes
Steps to reproduce: ------------------- - create a sale order with a rental product; - in Sales app, click on edit configuration (calendar icon next to the product); - click on the add button; Issue: ------ A traceback occurs. Cause: ------ Before applying our changes to the record, we fetch data. Unfortunately, we only fetch fields that are in the view. As `reserved_lot_ids` is not found there, the js object will not contain a key with this field name. This will cause a problem w
Original PR description
Steps to reproduce: ------------------- - create a sale order with a rental product; - in Sales app, click on edit configuration (calendar icon next to the product); - click on the add button; Issue: ------ A traceback occurs. Cause: ------ Before applying our changes to the record, we fetch data. Unfortunately, we only fetch fields that are in the view. As `reserved_lot_ids` is not found there, the js object will not contain a key with this field name. This will cause a problem when we apply the value determined in the patch[^1] because the `_getRentalInfos` set data for `reserved_lot_ids`. Solution: --------- Add the field to the view. opw-3748369 [^1]: https://github.com/odoo/enterprise/blob/56b11d6fb6230bf1d7fde0ad7612dd3f987d4f25/sale_stock_renting/static/src/js/rental_configurator_model.js#L15 Forward-Port-Of: odoo/enterprise#58273