Odoo Help


4 Answers

Anil R. Kesariya (AKE) India

--Anil R. Kesariya (AKE)--
| 8 7 10
Rajkot, India
--Anil R. Kesariya (AKE)--

Odoo Techno Functional Expert

* Engaged with odoo since May - 2012.

* Customise existing module or develop new module base on customer requirement.

* Played key developer role in many past and running projects.

* Expert in requirement gathering of business and transforming requirement into odoo platform.

* Major expertise in core modules, database, report development and theme development.

* Integration expert.

Linkedin  : https://in.linkedin.com/in/anil-kesariya-97b20a66

Upwork : https://www.upwork.com/fl/anilkesariya

Anil R. Kesariya (AKE) India
3/17/15, 3:36 AM

Hello Mozib Khan,

There are no. of script available in python to send message to mobile.

Here you go! for the sample script.

Click Here 

The thing is you need to get register any message service provider, which might be not free.

Once you will have that service provider credential you can develop your own module and scheduler for this.

Hope this will help you.



Anand India
3/18/15, 2:10 AM

I have developed one module to use way2sms api to send SMS.

But problem is that, in way2sms we can send only 100 SMS per day.

So its good to use 


Its a good one but subscriptions charges are must... :)

I think your prob is solved.

Demirel yakito United Kingdom
3/20/15, 3:47 AM

import urllib2

import cookielib

from getpass import getpass

import sys

username = raw_input("Enter your login Username: ")

passwd = getpass()

message = raw_input("Enter Message: ")

number = raw_input("Enter Mobile number:")

message = "+".join(message.split(' '))

# Logging into the SMS Site

url = 'http://site24.way2sms.com/Login1.action?'

data = 'username=' + username + '&password=' + passwd + '&Submit=Sign+in'

# For Cookies:

cj = cookielib.CookieJar()

opener = urllib2.build_opener(urllib2.HTTPCookieProcessor(cj))

# Adding Header detail:

opener.addheaders = [('User-Agent', 'Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/37.0.2062.120 Safari/537.36')]


usock = opener.open(url, data)

except IOError:

print "Error while logging in."


jession_id = str(cj).split('~')[1].split(' ')[0]

send_sms_url = 'http://site24.way2sms.com/smstoss.action?'

send_sms_data = 'ssaction=ss&Token=' + jession_id + '&mobile=' + number + '&message=' + message + '&msgLen=136'

opener.addheaders = [('Referer', 'http://site25.way2sms.com/sendSMS?Token=' + jession_id)]


sms_sent_page = opener.open(send_sms_url, send_sms_data)

except IOError:

print "Error while sending message"


print "SMS has been sent."

Ask a Question
Keep Informed
1 follower(s)
About This Community

This platform is for beginners and experts willing to share their Odoo knowledge. It's not a forum to discuss ideas, but a knowledge base of questions and their answers.

Odoo Training Center

Access to our E-learning platform and experience all Odoo Apps through learning videos, exercises and Quizz.

Test it now