Sunday, March 22, 2026
1 change · 19.0
Resolved issues and error corrections
This update resolves a critical issue where the WhatsApp integration would crash when a WhatsApp Business Account was linked to multiple phone numbers. Odoo’s design allows for this, but the webhook processing logic was flawed, causing a security error. This fix ensures the WhatsApp integration remains stable and reliable for users managing 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