diff --git a/ovh_sms_client/__manifest__.py b/ovh_sms_client/__manifest__.py index 0c20795..125b13f 100644 --- a/ovh_sms_client/__manifest__.py +++ b/ovh_sms_client/__manifest__.py @@ -4,7 +4,7 @@ { 'name': 'OVH SMS Client', - 'version': '10.0.1.0.0', + 'version': '10.0.1.0.1', 'license': 'AGPL-3', 'depends': ['mail', 'base_sms_client', diff --git a/ovh_sms_client/models/sms_gateway.py b/ovh_sms_client/models/sms_gateway.py index a3058ee..d1b2bc1 100644 --- a/ovh_sms_client/models/sms_gateway.py +++ b/ovh_sms_client/models/sms_gateway.py @@ -40,7 +40,7 @@ class SmsSms(models.Model): params = { 'smsAccount': keychain_data['sms_account'], 'login': keychain_account['login'], - 'password': keychain_account.get_password(), + 'password': keychain_account._get_password(), 'from': self.gateway_id.from_provider, 'url': self.gateway_id.url, 'to': self._convert_to_e164(self.mobile),