Browse Source
Merge pull request #158 from akretion/10-fix-keychain_get_password
[10][FIX] ovh-sms-client update call to underlying module
pull/159/head
beau sebastien
7 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with
2 additions and
2 deletions
-
ovh_sms_client/__manifest__.py
-
ovh_sms_client/models/sms_gateway.py
|
@ -4,7 +4,7 @@ |
|
|
|
|
|
|
|
|
{ |
|
|
{ |
|
|
'name': 'OVH SMS Client', |
|
|
'name': 'OVH SMS Client', |
|
|
'version': '10.0.1.0.0', |
|
|
|
|
|
|
|
|
'version': '10.0.1.0.1', |
|
|
'license': 'AGPL-3', |
|
|
'license': 'AGPL-3', |
|
|
'depends': ['mail', |
|
|
'depends': ['mail', |
|
|
'base_sms_client', |
|
|
'base_sms_client', |
|
|
|
@ -40,7 +40,7 @@ class SmsSms(models.Model): |
|
|
params = { |
|
|
params = { |
|
|
'smsAccount': keychain_data['sms_account'], |
|
|
'smsAccount': keychain_data['sms_account'], |
|
|
'login': keychain_account['login'], |
|
|
'login': keychain_account['login'], |
|
|
'password': keychain_account.get_password(), |
|
|
|
|
|
|
|
|
'password': keychain_account._get_password(), |
|
|
'from': self.gateway_id.from_provider, |
|
|
'from': self.gateway_id.from_provider, |
|
|
'url': self.gateway_id.url, |
|
|
'url': self.gateway_id.url, |
|
|
'to': self._convert_to_e164(self.mobile), |
|
|
'to': self._convert_to_e164(self.mobile), |
|
|