Monday, December 16, 2024
1 change · 17.0
Resolved issues and error corrections
This update corrects a formatting issue within the WhatsApp composer, ensuring phone numbers are correctly displayed without spaces or dashes. Previously, incorrect formatting caused errors preventing message delivery and channel linking. Now, users can reliably send WhatsApp templates from within Odoo.
Original PR description
**Before this Commit :** - When using the whatsapp composer on a record to send a whatsapp template, the number (phone/mobile) taken from the partner comes with the phone widget format (including spaces and dashes). - This would cause an error when linking the response received to the associated record, thus not creating an associated whatsapp channel, printing a link to the related SO,lead,etc and not posting a message on the record with a link to the whatsapp channel. **With this Commit :** - The composer phone field has the correct format when opened, preventing this behaviour to occur.