Tuesday, November 5, 2024
8 changes · saas-17.4
Resolved issues and error corrections
The popout button in the chatter top bar has been restored after a recent change caused it to stop working. Users can once again open chatter content in a separate popout window, improving usability when reviewing messages or attachments.
Original PR description
Before this commit, the chatter popout button was not working. This comes from recent changes to popout service that were affected to popout from attachment but not from chatter [1]. task-4275364 [1]: https://github.com/odoo/odoo/pull/174878
This fixes how favorite stock operation types are found, so users see the correct favorite items when filtering or searching. It helps prevent misleading stock operation lists and keeps warehouse workflows consistent.
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
The Point of Sale now loads only the product attribute values it actually needs. This reduces unnecessary data handling, helping improve performance and responsiveness without changing cashier workflows.
Original PR description
Before this commit, some unnecessary attributes might be loaded. This change ensures that only the required attributes are loaded, improving efficiency and performance. opw-4298915 --- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
Point of Sale cash moves now complete without failing when no sales order is linked. This prevents interruptions for cashiers and keeps cash management workflows reliable.
Original PR description
Before this commit, performing a cash move would cause an error due to a missing order when calling `getReceiptHeaderData`. opw-4309610 --- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
This fixes how chat bubble previews are shown by using the appropriate popover behavior instead of adding special dropdown behavior. It keeps the chat preview experience working while reducing unnecessary changes in shared interface components, lowering the risk of side effects elsewhere.
Original PR description
Since [1], the ChatBubble component have been introduced by using a Dropdown component in its template. The Dropdown component is used with advanced props in order to give it a simple tooltip…
Since [1], the ChatBubble component have been introduced by using a Dropdown component in its template. The Dropdown component is used with advanced props in order to give it a simple tooltip behavior. In order to achieve this, the Dropdown component has been updated by adding a new `arrow` property, which is passed to the underlying Popover component that, in turn, had to get updated in order to support this simple use case. This commit reverts the changes to the Dropdown and Popover components and adapts the ChatBubble component in order to use a simple popover, which is controlled in such a way that it behaves as a tooltip. Additional note: - simple tooltips could not have been used in this case as the ChatBubble needs are greater than the [data-tooltip-*] attributes could offer, especially for styling but also because complex objects are passed (proxies) to the preview template, which could not get stringified to get passed as elements' attributes. [1]: https://github.com/odoo/odoo/commit/82e3295d43f7809661a40d1b21ffbcbce23c700b
This fixes how favorite inventory operation types are searched so the system uses the intended comparison logic. It helps users see accurate favorite results in stock workflows and avoids incorrect filtering behavior.
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
Point of Sale orders now always show zero margin for combo products, even if a cost was set before the product was changed to a combo. This prevents misleading profitability figures in order reporting.
Original PR description
If you create a product with a cost and type combo, and you sell it in the PoS. The margin would not be 0 but it should always be 0 as this is the combo product. Steps to reproduce: ------------------- * Create a product, and set a cost on it * Change the product type to combo * Open PoS and sell this product * Go back to the order list > Observation: On the order you just made you will see that the margin for the combo product is not 0. Why the fix: ------------ We make sure to always set the margin to 0 for combo products. Actually combo product should never have a cost, but if you set a cost before changing it's type to combo it would be the case. opw-4171177 --- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
This update makes an automated Project app test more reliable by waiting for the task status changes to fully appear before continuing. It reduces occasional false test failures without changing day-to-day user behavior.
Original PR description
Before this commit, sometimes the test failed because the step to cancelled a sub-task is not yet done in the UI (the record has not yet been reloaded) before the next step is executed. This commit changes some trigger in some steps to be more precise but also add an additional step to make sure the dropdown showing the task states is correctly closed before checking if the sub-task is correctly marked as done. runbot-73414