Wednesday, September 24, 2025
4 changes · 17.0
Resolved issues and error corrections
This fix prevents users from accidentally trying to send a WhatsApp message without choosing a required template. Instead of causing an unexpected error, the system now blocks the action and guides users to select a template first.
Original PR description
Currently, an error occurs when the user attempts to send a whatsapp message without selecting a template. **Steps to Reproduce:** 1. Configure a WhatsApp Business Account and synchronize the templates. 2. Open any contact and click the **WhatsApp** button next to the phone number. 3. Remove the template and click **Send Message**. **Error:** `ValueError - Expected singleton: whatsapp.template()` **Cause:** At [1], it attempts to fetch the formatted body and header from the template ID. Since no template is selected, it results in an error. **Fix:** This commit makes the field `wa_template_id` required, preventing users from sending a whatsapp message without a template. In stable versions, raise a validation error if a user attempts to send a message without selecting a template. [1] - https://github.com/odoo/enterprise/blob/fff9ad7999d4ff13adf899b2517e750a36c1261a/whatsapp/wizard/whatsapp_composer.py#L319 sentry-6854466874
Users can now change the owner of selected documents in list view without losing their selection. This makes it easier to apply several actions in a row and avoids repeating document selections.
Original PR description
Steps to reproduce: 1. Go to Documents app 2. Select one or multiple documents in list view. 3. Change the owner of the selected document(s). 4. Selection is lost. The migration to Odoo 17's new architecture removed the selection preservation logic previously handled by `DocumentsDataPointMixin` in Odoo 16, resulting in records being deselected after inline field updates. This commit restores the selection preservation behavior by implementing the necessary logic in `DocumentsModelMixin`'s update method, ensuring consistent UX when performing multiple operations on selected records. opw-4699629
This update corrects an automated test in the SEPA payments area so it follows the system’s allowed way of handling bank account data. It helps keep testing reliable without changing day-to-day user functionality.
Original PR description
Direct update sanitized_acc_number is not allowed.
This fix restores a missing database index used by stock rules for company-related records. It helps keep upgrades cleaner by preventing misleading system log messages and preserves expected performance behavior.
Original PR description
due to conflict on this forward port https://github.com/odoo/odoo/pull/113045 ``index=True`` was removed according to this pr https://github.com/odoo/odoo/pull/90531 So, adding it back during upgrade it shows misleading logs ``` 2025-08-26 22:19:25,039 23 INFO db_3112946 odoo.schema: Keep unexpected index stock_rule_company_id_index on table stock_rule ``` opw-5052223 upg-3112946 --- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr