Daily updates from Odoo
Saturday, March 21, 2026
2 changes · saas-18.4
Resolved issues and error corrections
This update corrects a minor bug in the SendCloud delivery service that was preventing proper processing of shipments. The issue stemmed from incorrect Python slicing, which caused an error when attempting to retrieve data. The fix ensures reliable delivery processing.
Original PR description
Slicing in Python returns a sub-list, even for a single element. Doing `res[:1]` does not return the first element so doing `.get` causes an error. This was not caught because the tests do not run in CI due to the tags on the class. Forward-Port-Of: odoo/enterprise#111254
This update resolves an issue where the WhatsApp webhook functionality crashed when a WhatsApp Business Account was linked to multiple phone numbers. Odoo's design allows for this, but the original code incorrectly attempted to access security information from multiple records, leading to a system error. This fix ensures the webhook process is stable and reliable, even with multiple WhatsApp Business Accounts.
Original PR description
The webhook crashes when a WhatsApp Business Account uses multiple phone numbers. ### Steps to reproduce 1. Link two phone numbers to the same Account ID. 2. Receive a webhook for that account. ### Cause Odoo allows multiple records to share one Account ID to support multiple phone numbers. When a webhook arrives, searching by this ID returns a of all 2 matching records. The system crashes because it tries to read a security secret from this recordset to verify the request. opw-5419180 Forward-Port-Of: odoo/enterprise#107134