diff --git a/odex25_ensan/otp_sms_auth_custom/models/res_users.py b/odex25_ensan/otp_sms_auth_custom/models/res_users.py index 0e1639d96..4eba365b5 100644 --- a/odex25_ensan/otp_sms_auth_custom/models/res_users.py +++ b/odex25_ensan/otp_sms_auth_custom/models/res_users.py @@ -30,7 +30,7 @@ class ResUsersInherit(models.Model): # SMS payload payload = { - "recipients": [self.phone], + "recipients": [phone], "body": body, "sender": company.sms_sender_name, }