Skip to content
Permalink
Browse files

[TMP] sms: allow testing

  • Loading branch information...
pro-odoo committed Apr 15, 2019
1 parent d3b442e commit bea169ec2bd769bc637bdf82fa8670eef56292b5
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 bea169e

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