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
parent
commit
605b2e234c
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      ovh_sms_client/__manifest__.py
  2. 2
      ovh_sms_client/models/sms_gateway.py

2
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',

2
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),

Loading…
Cancel
Save