Friday, April 25, 2025
1 change · 17.0
Enhancements to existing features
Odoo now waits longer for WhatsApp to respond when submitting message templates. This reduces cases where a template is created on Facebook's side but not recorded in Odoo, preventing duplicate-name conflicts and keeping both systems aligned.
Original PR description
When submitting message templates to the WhatsApp API, the request could occasionally time out before receiving a response. This resulted in templates being created on Facebook's side, but not registered in Odoo, as the template ID assigned by Facebook was never received. Since template names must be unique, resubmitting the same template fails, leaving the systems out of sync. This commit increases the request timeout to (10s connect, 30s read) to reduce the chance of timeouts. opw-4706852 opw-4720635