Wednesday, January 22, 2025
4 changes · 17.0
Resolved issues and error corrections
This fix ensures custom message actions in the Mail app open correctly whether they appear as quick buttons or inside a dropdown menu. It improves reliability for businesses using custom communication features built on Odoo messaging.
Original PR description
**Description of the issue/feature this PR addresses:** When a custom module (e.g., [OCA/social#1536](https://github.com/OCA/social/pull/1536)) adds a new message action using `callComponent`, it is not invoked in certain scenarios. **Current behavior before PR:** Odoo only invokes `callComponent` for `quick actions` (2 or 3 actions). For remaining actions rendered as `DropdownItem`, the `callComponent` is not invoked. **Desired behavior after PR is merged:** This commit ensures consistent rendering behavior, invoking the `callComponent` for all actions, whether quick actions or dropdown items. Complementary to: https://github.com/odoo/odoo/pull/131426 @phenix-factory @alexkuhn coud you please review this? CC @pedrobaeza @chienandalu --- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
This fixes an issue where loyalty discount rules in Point of Sale could fail when they depended on product names. The product name is now loaded with product data, helping discount rules apply reliably during checkout.
Original PR description
Issue --> Using the 'product.product.name' field in loyalty.reward.discount_product_domain that is not added via the `_loader_params_product_product` loader causes an error in the matchCondition function https://github.com/odoo/odoo/blob/9b0f528aa02743372934df8e64d1cc0ad74903b6/addons/web/static/src/core/domain.js#L331 where variable fieldValue is undefined if the field is not available. Solution --> Adding the `name` field search parameters in the `_loader_params_product_product` similar to https://github.com/odoo/odoo/pull/186804 opw-4410460
This fixes an issue in the Uruguay electronic invoicing demo flow that could prevent users from sending and printing a validated customer invoice. It helps businesses testing the Uruguay setup confirm the invoice process works before going live.
Original PR description
Steps 1. Install Uruguay EDI module 2. Login and focus ob "UY Company" 3. Go to the Settings, check that "UCFE Web Services = Demo" (on Accounting > Uruguay Localization section) 4. Create a Customer Invoice, validate it and click send and print
When a payment terminal loses connection during cancellation, users now see only the relevant connection warning instead of an extra confusing error. This reduces cashier confusion and makes it clearer that the IoT box or terminal connection should be checked.
Original PR description
Currently, when cancelling a payment sent on a terminal, if you loose access to the internet, you will receive 2 different error. One of them explains Steps to reproduce: ------------------- *…
Currently, when cancelling a payment sent on a terminal, if you loose access to the internet, you will receive 2 different error. One of them explains Steps to reproduce: ------------------- * Connect an IoT box to the database * Configure a worldline terminal (ethernet) to be connected to the iot box * Create a payment method using that terminal and add it to a pos config * Open the corresponding pos session * Add items to order * Go to pay it, select the created payment method * Send the request to terminal * Disconnect ethernet cable from the worldline terminal * Cancel the payment > Observation: After the timeout, two errors appear: 1: underfined:undefined (Bug) 2: Please check if your iot box is still connected. (Normal) Why the fix: ------------ This commit https://github.com/odoo/enterprise/commit/35a392c27e70ffb5f4a5d8ca32bf10c38d7f709c added one more error throwing other than `_onActionFail()` when sending requests. In our case since the error is due to a timeout, it will raise the `_onActionFail()` but also the `Promise.reject(e)`. We consider that the `_onActionFail()` is enough for all potential failure here. opw-4414175