The Problem With Static AI
Most AI assistants know only what you taught them during setup. You upload a few PDFs, write some FAQs, and hope for the best. But businesses aren't static. Prices change. Orders ship. Stock runs out. And the moment something changes in your Odoo — your AI has no idea.
That's the gap Mugib's Odoo MCP adapter was built to close. Instead of working from outdated documents, your AI connects directly to Odoo's live database and pulls real answers the moment a customer asks.
What Your AI Can Now See
Odoo is one of the most comprehensive ERP systems in the world, and the Mugib adapter gives your AI access to virtually any model in it. Sales orders are the most common use case — a customer asks about their order, and instead of telling them to "check their email", your AI looks it up right now, finds the status, the amount, the expected delivery, and answers confidently. Products are equally powerful: Is this item in stock? What's the current price? What variants are available? All answered live from your Odoo product catalog.
Beyond sales and products, the adapter works with customer records, invoices, support tickets (on Odoo Enterprise), and real-time inventory levels. If your Odoo has it, your AI can reach it.
Why This Matters for Your Business
Think about how many times your support team answers the question "Where's my order?" every day. Or "Do you have this in stock?" Every one of those questions is a call that doesn't need to exist — because the answer is already in Odoo. The only thing missing was a way to get it out, automatically, to whoever is asking.
Mugib creates that bridge. Your support AI becomes a live window into your ERP, not a search engine over a frozen knowledge base. And because Odoo handles the data, the answer is always current — no cache, no stale files, no outdated PDFs.
A customer asks: "Can you check order SO-2045?" Your AI authenticates with Odoo, queries the sale.order model, and responds: "Order SO-2045 for Al Majd Trading is complete. Total: SAR 12,500. Shipped via Aramex on Feb 24." — all in under two seconds.
How to Connect Odoo to Mugib
The connection uses Odoo's standard JSON-RPC API — no plugins, no modifications to your Odoo installation required. Here's how to set it up:
Step 1 — Create an MCP Source
Go to Admin → MCP Sources → Create Source and choose Odoo ERP as the type. Enter your Odoo base URL (whether that's a cloud instance like mycompany.odoo.com or a self-hosted server) and your Odoo database name.
Step 2 — Set Your Credentials
Enter your Odoo login email as the USERNAME and your password or API key as the PASSWORD. We strongly recommend creating a dedicated Odoo user with read-only access specifically for Mugib. This way, your AI can query data but can never modify, delete, or create records — keeping your ERP safe.
Step 3 — Choose Your Model and Fields
This is where you tell Mugib what to look for. Set the MODEL field to the Odoo model you want to search — sale.order for orders, product.product for products, res.partner for customers. Then define which fields to match against customer queries (SEARCH_FIELDS) and which fields to return in the AI's answer (RETURN_FIELDS). You can also add a DOMAIN filter — for example, only return confirmed sales orders, or only active products.
Step 4 — Add Keywords and Go Live
Add routing keywords that trigger this source — words like order, sale, invoice, product, طلب, مبيعات, منتج. When your AI sees these words, it knows to query Odoo. Assign the source to your project, hit Save, and you're live.
Start with sale.order and product.product — these two models alone will handle the vast majority of customer queries. You can add more models later as you discover new use cases in your specific Odoo setup.
مشكلة الذكاء الاصطناعي الثابت
معظم المساعدين الذكيين يعرفون فقط ما علّمتهم إياه عند الإعداد. ترفع بضعة ملفات PDF، تكتب بعض الأسئلة الشائعة، وتأمل خيراً. لكن الشركات ليست ثابتة. الأسعار تتغير. الطلبات تُشحن. المخزون ينفد. وفي اللحظة التي يتغير فيها شيء في Odoo — ذكاؤك الاصطناعي لا يعلم بذلك.
هذه هي الفجوة التي بُني محول Odoo MCP من مجيب لسدّها. بدلاً من العمل من مستندات قديمة، يتصل ذكاؤك الاصطناعي مباشرة بقاعدة بيانات Odoo الحية ويسحب إجابات حقيقية في اللحظة التي يسأل فيها العميل.
ما يستطيع ذكاؤك الاصطناعي رؤيته الآن
Odoo هو أحد أشمل أنظمة ERP في العالم، ويمنح محول مجيب ذكاءك الاصطناعي وصولاً لأي نموذج فيه تقريباً. طلبات المبيعات هي حالة الاستخدام الأكثر شيوعاً — يسأل عميل عن طلبه، وبدلاً من إخباره بـ"تحقق من بريدك"، يبحث ذكاؤك الآن عن الطلب فوراً، ويجد الحالة والمبلغ وموعد التسليم المتوقع ويجيب بثقة.
المنتجات بنفس القوة: هل هذا الصنف متوفر؟ ما السعر الحالي؟ ما المتغيرات المتاحة؟ كل هذا يُجاب عليه مباشرة من كتالوج منتجات Odoo. وبعيداً عن المبيعات والمنتجات، يعمل المحول مع بيانات العملاء والفواتير وتذاكر الدعم (في Odoo Enterprise) ومستويات المخزون الفعلية.
لماذا هذا مهم لعملك
فكّر كم مرة يجيب فريق دعمك على سؤال "أين طلبي؟" كل يوم. أو "هل هذا المنتج متوفر؟" كل واحدة من هذه الأسئلة مكالمة لا داعي لوجودها — لأن الإجابة موجودة بالفعل في Odoo. الشيء الوحيد الناقص كان طريقة لإخراجها تلقائياً لمن يسأل.
مجيب يخلق هذا الجسر. يصبح ذكاؤك الاصطناعي نافذة حية على ERP الخاص بك، لا محرك بحث فوق قاعدة معرفة مجمّدة.
يسأل عميل: "ممكن تتحقق من الطلب SO-2045؟" يصادق ذكاؤك الاصطناعي مع Odoo، يستعلم نموذج sale.order، ويجيب: "الطلب SO-2045 لمجموعة الماجد مكتمل. المجموع: 12,500 ريال. شُحن عبر أرامكس بتاريخ 24 فبراير." — كل هذا في أقل من ثانيتين.
كيفية ربط Odoo بمجيب
يستخدم الاتصال واجهة JSON-RPC القياسية في Odoo — لا حاجة لإضافات أو تعديلات على تثبيت Odoo الخاص بك. إليك كيفية الإعداد:
الخطوة الأولى — إنشاء مصدر MCP
توجّه إلى Admin → MCP Sources → Create Source واختر Odoo ERP كنوع المصدر. أدخل الرابط الأساسي لـ Odoo (سواء كان نسخة سحابية مثل mycompany.odoo.com أو خادم مستضاف ذاتياً) واسم قاعدة البيانات.
الخطوة الثانية — بيانات الاعتماد
أدخل بريد تسجيل الدخول كـ USERNAME وكلمة المرور أو مفتاح API كـ PASSWORD. نوصي بشدة بإنشاء مستخدم Odoo مخصص بصلاحيات القراءة فقط لمجيب تحديداً. بهذه الطريقة يستطيع ذكاؤك استعلام البيانات لكن لا يستطيع أبداً تعديل أو حذف أو إنشاء سجلات.
الخطوة الثالثة — النموذج والحقول
هنا تخبر مجيب بما يبحث عنه. اضبط حقل MODEL على نموذج Odoo الذي تريد البحث فيه — sale.order للطلبات، product.product للمنتجات، res.partner للعملاء. ثم حدّد الحقول للمطابقة مع استعلامات العملاء (SEARCH_FIELDS) والحقول للإعادة في إجابة الذكاء (RETURN_FIELDS). يمكنك أيضاً إضافة فلتر DOMAIN — مثلاً إعادة طلبات المبيعات المؤكدة فقط، أو المنتجات النشطة فقط.
الخطوة الرابعة — الكلمات المفتاحية والانطلاق
أضف كلمات مفتاحية للتوجيه تُشغّل هذا المصدر — كلمات مثل طلب، مبيعات، فاتورة، منتج، order, sale, product. عيّن المصدر لمشروعك واضغط حفظ — وأنت الآن على الهواء مباشرة.
ابدأ بـ sale.order وproduct.product — هذان النموذجان وحدهما سيعالجان الغالبية العظمى من استعلامات العملاء. يمكنك إضافة نماذج أخرى لاحقاً مع اكتشاف حالات استخدام جديدة في إعداد Odoo الخاص بك.