odoo/enterprise#51009

Created by Platform, Jérémy Kersten
Closed
label
odoo-dev:17.0-whatsapp-batch-onerror-jke
head
6cecb5c18e84e96e0b96df21500f0c5f5ce8d832
odoo/enterprise
17.0 #51009

[FIX] whatsapp: allow sent batch with one invalid number

Before this commit, on first error, all the batch is crashed.

Now catch the exception, using except Exception since we are
in a small scope, and that the import in tool is conditional
on the presence of the lib phonenumbers.