From 1afec33b0549f9556d9b43894b0f9002bcd1114e Mon Sep 17 00:00:00 2001 From: hparfr Date: Tue, 6 Feb 2018 10:02:32 +0100 Subject: [PATCH] Fix keychain api change on get_password --- ovh_sms_client/__manifest__.py | 2 +- ovh_sms_client/models/sms_gateway.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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),