Skip to content
Permalink
Browse files

[TMP] sms: allow testing

  • Loading branch information...
pro-odoo committed Apr 15, 2019
1 parent 75eddbe commit ccf82e472afc95d5a3078da1e85a120e3379901a
Showing with 2 additions and 1 deletion.
  1. +2 −1 addons/sms/models/sms_api.py
@@ -25,5 +25,6 @@ def _send_sms(self, numbers, message):
'message': message,
}
endpoint = self.env['ir.config_parameter'].sudo().get_param('sms.endpoint', DEFAULT_ENDPOINT)
iap.jsonrpc(endpoint + '/iap/message_send', params=params)
# iap.jsonrpc(endpoint + '/iap/message_send', params=params)
print('SMS Sent: %s' % message)
return True

0 comments on commit ccf82e4

Please sign in to comment.
You can’t perform that action at this time.