Skip to Content
Odoo मेन्यू
  • Sign in
  • मुफ़्त में आज़माएं
  • ऐप्लिकेशन
    फ़ाइनेंस
    • अकाउंटिंग
    • इनवॉइसिंग
    • एक्सपेंस
    • स्प्रेडशीट (बीआई)
    • डॉक्यूमेंट्स
    • साइन
    सेल्स
    • सीआरएम
    • सेल्स
    • पीओएस शॉप
    • पीओएस रेस्टोरेंट
    • सब्सक्रिप्शन
    • रेंटल
    वेबसाइट
    • वेबसाइट बिल्डर
    • ई-कॉमर्स
    • ब्लॉग
    • फ़ोरम
    • लाइव चैट
    • ई-लर्निंग
    सप्लाई चेन
    • इन्वेंट्री
    • मैन्युफ़ैक्चरिंग
    • पीएलएम
    • परचेज़
    • मेंटेनेंस
    • क्वालिटी
    मानव संसाधन
    • कर्मचारी
    • रिक्रूटमेंट
    • टाइम ऑफ़
    • अप्रेज़ल
    • रेफ़रल
    • फ़्लीट
    मार्केटिंग
    • सोशल मार्केटिंग
    • ईमेल मार्केटिंग
    • एसएमएस मार्केटिंग
    • इवेंट
    • मार्केटिंग ऑटोमेशन
    • सर्वे
    सेवाएं
    • प्रोजेक्ट
    • टाइमशीट
    • फ़ील्ड सर्विस
    • हेल्पडेस्क
    • प्लानिंग
    • अपॉइंटमेंट
    प्रॉडक्टिविटी
    • डिस्कस
    • अप्रूवल
    • आईओटी
    • वीओआईपी
    • नॉलेज
    • WhatsApp
    तीसरे पक्ष के ऐप्लिकेशन Odoo स्टूडियो Odoo क्लाउड प्लेटफ़ॉर्म
  • इंडस्ट्री
    रीटेल
    • बुक स्टोर
    • क्लोदिंग स्टोर
    • फ़र्नीचर स्टोर
    • ग्रॉसरी स्टोर
    • हार्डवेयर स्टोर
    • टॉय स्टोर
    Food & Hospitality
    • बार और पब
    • रेस्टोरेंट
    • फ़ास्ट फ़ूड
    • Guest House
    • बेवरिज डिस्ट्रीब्यूटर
    • Hotel
    Real Estate
    • Real Estate Agency
    • आर्किटेक्चर फ़र्म
    • कंसट्रक्शन
    • एस्टेट मैनेजमेंट
    • गार्ड्निंग
    • प्रॉपर्टी ओनर असोसिएशन
    Consulting
    • Accounting Firm
    • Odoo पार्टनर
    • Marketing Agency
    • लॉ फ़र्म
    • टैलेंट ऐक्विज़िशन
    • ऑडिट & सर्टिफ़िकेशन
    मैन्युफ़ैक्चरिंग
    • Textile
    • Metal
    • Furnitures
    • Food
    • Brewery
    • कॉर्पोरेट गिफ़्ट
    हेल्थ & फिटनेस
    • स्पोर्ट्स क्लब
    • आईवियर स्टोर
    • फिटनेस सेंटर
    • वेलनेस प्रैक्टिशनर
    • फॉर्मेसी
    • हेयर सैलून
    Trades
    • Handyman
    • आईटी हॉर्डवेयर और सपोर्ट
    • Solar Energy Systems
    • Shoe Maker
    • Cleaning Services
    • HVAC Services
    Others
    • Nonprofit Organization
    • एन्वायरमेंटल एजेंसी
    • बिलबोर्ड रेंटल
    • फ़ोटोग्राफी
    • बाइक लीजिंग
    • सॉफ़्टवेयर रीसेलर
    Browse all Industries
  • कम्यूनिटी
    सीखें
    • ट्यूटोरियल्स
    • दस्तावेज़
    • सर्टिफ़िकेशन
    • ट्रेनिंग
    • ब्लॉग
    • पॉडकास्ट
    शिक्षा को बढ़ावा दें
    • एजुकेशन प्रोग्राम
    • स्केल अप! बिजनेस गेम
    • Odoo के ऑफ़िस में आएं
    सॉफ़्टवेयर पाएं
    • डाउनलोड
    • वर्शन की तुलना करें
    • रिलीज़
    साथ मिलकर काम करें
    • Github
    • फ़ोरम
    • इवेंट
    • अनुवाद
    • पार्टनर बनें
    • Services for Partners
    • अपना अकाउंटिंग फ़र्म रजिस्टर करें
    सेवाएं पाएं
    • पार्टनर ढूंढें
    • अकाउंटेंट खोजें
    • सलाहकार की मदद लें
    • इम्प्लिमेंटेशन सेवाएं
    • कस्टमर रेफ़रेंस
    • सहायता
    • अपग्रेड
    Github Youtube Twitter Linkedin Instagram Facebook Spotify
    +1 (650) 691-3277
    डेमो देखें
  • कीमत
  • सहायता

Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:

  • सीआरएम
  • e-Commerce
  • लेखांकन
  • इन्वेंटरी
  • PoS
  • प्रोजेक्ट
  • MRP
All apps
You need to be registered to interact with the community.
All Posts People Badges
टैग (View all)
odoo accounting v14 pos v15
About this forum
You need to be registered to interact with the community.
All Posts People Badges
टैग (View all)
odoo accounting v14 pos v15
About this forum
Help

Getting replies from SMS?

Subscribe

Get notified when there's activity on this post

This question has been flagged
SMS
3 Replies
1422 Views
Avatar
Otter space Ltd

We're using Odoo Web.

I've enabled the integrated SMS feature, but it seems to be one-way unless I'm mistaken.

Is it a way to send the SMSs "from" our number, so that we'd get the replies?

0
Avatar
Discard
Avatar
Cybrosys Techno Solutions Pvt.Ltd
Best Answer

Hi,


In Odoo Web (Online), the integrated SMS feature is one-way by default. You can send messages to your customers, but replies do not come back into Odoo. To send SMS “from” your number and receive replies, you need a phone number that supports two-way messaging through a provider like Twilio, Plivo, or Clickatell. You configure this number in Odoo and set up the provider to forward incoming messages (via webhook or email) so Odoo can log them. On  Odoo Online, direct inbound SMS configuration is limited, so you may need a  third-party integration from the Odoo App Store to fully support two-way SMS.


Please refer to the module:

1. https://apps.odoo.com/apps/modules/18.0/odoo_twilio_sms

2. https://apps.odoo.com/apps/modules/16.0/clicksend_sms_odoo


Hope it helps.

0
Avatar
Discard
Alexander Zanosov

Not exactly true - you can’t receive inbound messages in Odoo from Twilio, Plivo, or Clickatell out of the box on Odoo Online. In fact, this only works on the Custom plan (with Studio activated) and requires a third-party integration.

Avatar
Alexander Zanosov
Best Answer

It is possible to receive incoming SMS messages in Odoo Online (Custom Plan) — I have this working successfully.

However, this functionality is not available out of the box and requires a bit of custom code. 

If you would like me to setup this integration for you or just need a detailed guidance, please contact me directly nerosoro @ proton.me or reply to this thread.

Below is an overview of my setup:

My Configuration
  • Odoo v19 Online (Custom Plan) — this approach also works on v18 and should work on v17.
  • Twilio configured in Odoo for outgoing SMS (supported starting from v17).
  • External cloud service (such as AWS or any other platform) used to host a webhook and an Odoo client script.
    • I’ve included a basic example of the webhook / client script below.
How It Works
  1. In Twilio, I specify the webhook URL (pointing to my script) under Incoming SMS settings.
  2. When a customer replies to an SMS, Twilio calls that webhook with the message payload.
  3. The webhook script processes the message and posts it back to Odoo’s chatter through the Odoo API.
Important Consideration

A small limitation of this method is that Odoo does not include contextual information about where the original outgoing SMS was sent from (for example, whether it came from a Contact, Lead, Quotation, or Task).

Because of this, the webhook cannot automatically determine which record in Odoo the incoming message belongs to.

My Workaround

To handle this, I:

  • Identify the sender by their phone number.
  • Post the incoming message to that Contact’s chatter.
  • Then, using that contact as a reference, I find all related records (Leads, Quotations, Tasks, etc.) and “spray” the same message into each of those chatter threads.
  • To avoid unnecessary duplication or clutter, I maintain a whitelist of models (objects) where messages are allowed to be posted.

Here is a code...

from flask import Flask, request, jsonify
import requests

app = Flask(__name__)

# ==== CONFIGURATION ====
ODOO_URL = "https://your-database-name.odoo.com"   # no trailing slash
ODOO_DB = "your_database_name"
ODOO_USERNAME = "your_odoo_login_email"
ODOO_PASSWORD = "your_odoo_password"

# JSON-RPC endpoint (standard Odoo API)
ODOO_JSONRPC_ENDPOINT = f"{ODOO_URL}/jsonrpc"


# ==== UTILITY FUNCTIONS ====
def odoo_rpc(model, method, args=None, kwargs=None):
    """
    Generic Odoo JSON-RPC call.
    """
    payload = {
        "jsonrpc": "2.0",
        "method": "call",
        "params": {
            "service": "object",
            "method": "execute_kw",
            "args": [ODOO_DB, ODOO_UID, ODOO_PASSWORD, model, method, args or [], kwargs or {}],
        },
        "id": 1,
    }
    response = requests.post(ODOO_JSONRPC_ENDPOINT, json=payload)
    response.raise_for_status()
    result = response.json()
    if "error" in result:
        raise Exception(result["error"])
    return result["result"]


def odoo_login():
    """
    Authenticate with Odoo and return UID.
    """
    payload = {
        "jsonrpc": "2.0",
        "method": "call",
        "params": {
            "service": "common",
            "method": "login",
            "args": [ODOO_DB, ODOO_USERNAME, ODOO_PASSWORD],
        },
        "id": 1,
    }
    response = requests.post(ODOO_JSONRPC_ENDPOINT, json=payload)
    response.raise_for_status()
    result = response.json()
    return result["result"]


# ==== MAIN ROUTE ====
@app.route("/twilio/incoming", methods=["POST"])
def incoming_sms():
    """
    Receives incoming SMS from Twilio, finds contact in Odoo, and posts message to chatter.
    """
    try:
        # Twilio sends phone numbers in E.164 format (+614xxxxxxxx)
        from_number = request.form.get("From", "").strip()
        message_body = request.form.get("Body", "").strip()

        if not from_number or not message_body:
            return jsonify({"error": "Missing From or Body in payload"}), 400

        # Authenticate to Odoo
        global ODOO_UID
        ODOO_UID = odoo_login()

        # Step 1: Find contact by phone or mobile number
        domain = [["|", ["phone", "=", from_number], ["mobile", "=", from_number]]]
        contact_ids = odoo_rpc("res.partner", "search", [domain], {"limit": 1})

        if not contact_ids:
            return jsonify({"status": "Contact not found", "from": from_number}), 200

        contact_id = contact_ids[0]

        # Step 2: Post message to chatter
        message_vals = {
            "model": "res.partner",
            "res_id": contact_id,
            "body": f"<p><b>Incoming SMS:</b> {message_body}</p>",
            "message_type": "comment",
            "subtype_id": 1,  # Mail subtype "Discussions"
        }
        odoo_rpc("mail.message", "create", [message_vals])

        return jsonify({
            "status": "Message posted to chatter",
            "contact_id": contact_id,
            "from": from_number
        }), 200

    except Exception as e:
        return jsonify({"error": str(e)}), 500


# ==== ENTRY POINT ====
if __name__ == "__main__":
    app.run(host="0.0.0.0", port=5000, debug=False)


0
Avatar
Discard
Avatar
Christoph Farnleitner
Best Answer

No, this is not possible with the SMS integration of Odoo - https://www.odoo.com/documentation/18.0/applications/marketing/sms_marketing/pricing_and_faq.html#more-common-questions

It is however, theoretically possible, to integrate 3rd-party services or communicating via a SMS gateway. If 'Odoo Web' means 'Odoo Online' this option should be out of scope too though.

0
Avatar
Discard
Enjoying the discussion? Don't just read, join in!

Create an account today to enjoy exclusive features and engage with our awesome community!

Sign up
Related Posts Replies Views Activity
Odoo SMS Alternatives
SMS
Avatar
Avatar
Avatar
2
अक्तू॰ 25
1962
Can I create SMS drip messages?
development SMS
Avatar
Avatar
1
अक्तू॰ 25
1302
Changing SMS number
smsclient SMS
Avatar
0
जन॰ 25
1294
Help! SMS making me reconsider Odoo
SMS v18
Avatar
Avatar
2
नव॰ 24
1464
Can't sent SMS in sale order
v15 SMS
Avatar
0
अप्रैल 22
2633
कम्यूनिटी
  • ट्यूटोरियल्स
  • दस्तावेज़
  • फ़ोरम
ओपन सोर्स
  • डाउनलोड
  • Github
  • रनबॉट
  • अनुवाद
सेवाएं
  • Odoo.sh Hosting
  • सहायता
  • अपग्रेड
  • कस्टम डेवलपमेंट्स
  • शिक्षा
  • अकाउंटेंट खोजें
  • पार्टनर ढूंढें
  • पार्टनर बनें
हमारे बारे में
  • हमारी कंपनी
  • ब्रांड ऐसेट
  • संपर्क करें
  • नौकरियां
  • इवेंट
  • पॉडकास्ट
  • ब्लॉग
  • ग्राहक
  • लीगल • गोपनीयता
  • सुरक्षा
الْعَرَبيّة Català 简体中文 繁體中文 (台灣) Čeština Dansk Nederlands English Suomi Français Deutsch हिंदी Bahasa Indonesia Italiano 日本語 한국어 (KR) Lietuvių kalba Język polski Português (BR) română русский язык Slovenský jazyk slovenščina Español (América Latina) Español ภาษาไทย Türkçe українська Tiếng Việt

Odoo, बिज़नेस से जुड़े ऐप्लिकेशन का एक कलेक्शन है जो ओपन सोर्स पर आधारित है. इसमें आपकी कंपनी की हर ज़रूरत के लिए ऐप्लिकेशन हैं. जैसे, सीआरएम, ई-कॉमर्स, अकाउंटिंग, इन्वेंट्री, पॉइंट ऑफ़ सेल, प्रोजेक्ट मैनेजमेंट वगैरह.

Odoo की सबसे बड़ी खासियत है कि यह इस्तेमाल करने में बहुत आसान है और यह पूरी तरह से इंटिग्रेट किया हुआ है.

Website made with

Odoo Experience on YouTube

1. Use the live chat to ask your questions.
2. The operator answers within a few minutes.

Live support on Youtube
Watch now