When no valid phone number was found on a record, and when using _message_sms directly, no SMS and no notification was created. You could therefore think everything was ok while it was actually not. Instead we now create failed notifications. It allows to be notified of it and fix numbers through cancel / resend wizards. Task ID 2244192 closes odoo/odoo#50486 X-original-commit: baecdfaa2d31714a20d1fb8af7799af1805cd939 Signed-off-by: Thibault Delavallee (tde) <tde@openerp.com>