تخطي للذهاب إلى المحتوى
أودو القائمة
  • تسجيل الدخول
  • جرب مجاناً
  • التطبيقات
    المالية
    • المحاسبة
    • فوترة
    • النفقات
    • جدول البيانات (BI)
    • المستندات
    • توقيع إلكتروني
    المبيعات
    • إدارة علاقات العملاء
    • المبيعات
    • نقطة البيع للمتاجر
    • نقطة البيع للمطاعم
    • الاشتراكات
    • تأجير
    المواقع الإلكترونية
    • أداة بناء المواقع الإلكترونية
    • متاجر إلكترونية
    • مدونة
    • المنتدى
    • دردشة مباشرة
    • التعليم الإلكتروني
    سلسلة التوريد
    • المستودعات
    • التصنيع
    • إدارة دورة حياة المنتج
    • المشتريات
    • الصيانة
    • الجودة
    الموارد البشرية
    • موظفون
    • التوظيف
    • إجازة عمل
    • التقييمات
    • الإحالات
    • تطبيق الأسطول
    التسويق
    • التسويق الإجتماعي
    • التسويق عبر البريد الإلكتروني
    • التسويق عبر الرسائل النصية
    • فعاليات
    • أتمتة التسويق
    • الاستطلاعات
    الخدمات
    • المشاريع
    • الجداول الزمنية
    • الخدمة الميدانية
    • مكتب المساعدة
    • التخطيط
    • مواعيد
    اﻹنتاجية
    • مناقشة
    • الموافقات
    • إنترنت الأشياء "IoT"
    • بروتوكول ربط المحادثات الصوتية عبر الإنترنت
    • المعرفة
    • WhatsApp
    التطبيقات الخارجية ستوديو أودو منصة أودو السحابية
  • قطاعات الأعمال
    البيع بالتجزئة
    • متجر كتب
    • متجر ملابس
    • متجر أثاث
    • متجر بقالة
    • متجر معدات
    • متجر ألعاب
    الطعام والضيافة
    • بار وحانة
    • المطعم
    • مطعم للوجبات السريعة
    • نزل للضيوف
    • موزّع مشروبات
    • فندق
    العقارات
    • وكالة عقارات
    • شركة هندسة معمارية
    • البناء
    • إدارة العقارات
    • العناية بالحدائق
    • اتحاد مُلاّك العقارات
    استشارة
    • مؤسسة محاسبية
    • شريك أودو
    • وكالة تسويقية
    • منشأة قانونية
    • استقطاب المواهب
    • التدقيق والتوثيق
    التصنيع
    • الأقمشة
    • معدني
    • الأثاث
    • الطعام
    • مصنع خمور
    • هدايا الشركات
    الصحة واللياقة البدنية
    • نادي رياضي
    • متجر نظارات
    • مركز لياقة بدنية
    • الممارسون الصحيون
    • صيدلية
    • صالون تصفيف الشعر
    التجارة
    • عامل صيانة
    • الأجهزة والمعدات التقنية ودعمها
    • أنظمة الطاقة الشمسية
    • صانع أحذية
    • خدمات التنظيف
    • خدمات التكييف (HVAC)
    غير ذلك
    • منظمة غير ربحية
    • وكالة بيئية
    • تأجير لوحات إعلانية
    • تصوير
    • تأجير دراجات
    • بائع وسيط للبرمجيات
    تصفح كافة قطاعات الأعمال
  • مجتمع أودو
    تعلم
    • دروس
    • التوثيق
    • شهادات
    • التدريب
    • مدونة
    • بودكاست
    قم بتعزيز التعليم
    • برنامج تعليم
    • Scale UP! لعبة الأعمال
    • قم بزيارة أودو
    احصل على البرنامج
    • تحميل
    • قارنْ الإصدارات
    • إطلاق
    تعاون
    • جيت هاب "Github"
    • المنتدى
    • فعاليات
    • الترجمات
    • كنْ شريكاً
    • خدمات الشركاء
    • سجل مكتب المحاسبة الخاص بك
    احصل على الخدمات
    • اعثر على شريك
    • اعثر على محاسب
    • قابل أحد مرشدي الأعمال
    • خدمات التنفيذ
    • مراجع العملاء
    • الدعم
    • الترقيات
    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
يجب أن تكون مسجلاً حتى تتفاعل مع المجتمع.
كافة المنشورات الأفراد الشارات
علامات التصنيف (عرض الكل)
odoo accounting v14 pos v15
حول هذا المنتدى
يجب أن تكون مسجلاً حتى تتفاعل مع المجتمع.
كافة المنشورات الأفراد الشارات
علامات التصنيف (عرض الكل)
odoo accounting v14 pos v15
حول هذا المنتدى
المساعدة

[Aide] Modules custom non détectés ou non exécutés sur Odoo 18 (Windows)

اشتراك

تسلم الإشعارات عندما يكون هناك نشاط في هذا المنشور

لقد تم الإبلاغ عن هذا السؤال
developmentconfigurationdebug
1 الرد
655 أدوات العرض
الصورة الرمزية
Projet D@niel

Bonjour à tous,

Nous rencontrons un problème avec le fonctionnement de modules personnalisés (addons) sur Odoo 18 Community, installé sous Windows 11.

Odoo fonctionne correctement, mais nos modules custom ne s’exécutent pas (routes HTTP non actives).

Contexte

  • Version Odoo : 18.0-20251007
  • Installation : via l’installeur Windows officiel
  • Base de données : PostgreSQL local
  • Dossier custom addons : C:\odoo_addons
  • Configuration dans odoo.conf :
addons_path = "c:\program files\odoo 18.0.20251007\server\odoo\addons","C:\odoo_addons"

Exemple de module de test

Nous avons créé un module ultra simple test_hello_world pour vérifier le chargement des modules custom :

test_hello_world/
├── __manifest__.py
├── __init__.py
└── controllers/
    ├── __init__.py
    └── main.py

__manifest__.py :

{
    'name': 'Test Hello World',
    'version': '1.0',
    'summary': 'Module minimal pour tester le chargement des modules custom',
    'author': 'Daniel',
    'category': 'Website',
    'depends': ['website'],
    'data': [],
    'installable': True,
    'application': False,
    'license': 'LGPL-3',
}

controllers/main.py :

from odoo import http

class HelloWorldController(http.Controller):

    @http.route('/hello', type='http', auth='public', website=True)
    def hello(self, **kwargs):
        return "<h1>✅ Hello World depuis un module custom Odoo !</h1>"

Problème observé

  • Le module apparaît bien dans la liste des applications.
  • Il peut être installé sans erreur.
  • Mais la route /hello retourne une erreur 404 :

    Cette page n'existe pas, mais vous pouvez la créer si vous êtes éditeur de ce site.

Dans les logs, on ne voit aucune trace de chargement du module test_hello_world :

GET /hello HTTP/1.1" 404

et aucune ligne du type :

module test_hello_world: loading ...

Autres observations

  • Le chemin C:\odoo_addons est bien dans addons_path.
  • D’autres modules custom (ex : event_access_restriction_priority) se comportent pareil : visibles mais sans effet.
  • Redémarrage du service Odoo effectué après chaque modification.
  • Testé avec odoo-bin -u test_hello_world -d daniel_project --log-level=debug → pas d’erreur, mais pas de route non plus.

Question

Quelqu’un saurait-il pourquoi les routes HTTP des modules custom ne sont pas chargées sur Odoo 18 Windows,

malgré une configuration correcte du addons_path et des manifests valides ?

Faut-il ajouter un paramètre spécifique ou une configuration supplémentaire pour que les contrôleurs http.Controller soient exécutés ?

Merci d’avance pour votre aide

0
الصورة الرمزية
إهمال
الصورة الرمزية
Cybrosys Techno Solutions Pvt.Ltd
أفضل إجابة

Hi,


A user running Odoo 18 Community on Windows 11 reported that while Odoo itself works fine, their custom modules (addons) are not functioning properly — specifically, the HTTP routes defined in those modules are not becoming active.


In this setup, Odoo version 18.0 (build 20251007) was installed using the official Windows installer, with a local PostgreSQL database. The user configured a custom addons directory at C:\odoo_addons and added it to the addons_path in odoo.conf as:

addons_path = "c:\program files\odoo 18.0.20251007\server\odoo\addons","C:\odoo_addons".


To test, they created a simple custom module named test_hello_world with a controller defining the route /hello. The module installed correctly and appeared in Odoo’s list of applications, but when visiting /hello, Odoo returned a 404 error saying the page does not exist.


Upon checking the logs, they found no evidence that the module was being loaded — there were no “loading…” lines for test_hello_world, only the 404 error for the route request. The issue was consistent across other custom modules as well.


The user confirmed that the custom path was correctly listed in addons_path, and they had also restarted the Odoo service after every change. They even ran the command odoo-bin -u test_hello_world -d daniel_project --log-level=debug, which executed without errors but still failed to register the route.


Finally, the user asked the community if anyone knew why HTTP routes from custom modules fail to load on Odoo 18 Windows, despite having a correct configuration and valid manifests — or if any extra configuration is needed to make http.Controller routes work properly.


Hope it helps

0
الصورة الرمزية
إهمال
هل أعجبك النقاش؟ لا تكن مستمعاً فقط. شاركنا!

أنشئ حساباً اليوم لتستمتع بالخصائص الحصرية، وتفاعل مع مجتمعنا الرائع!

تسجيل
المنشورات ذات الصلة الردود أدوات العرض النشاط
My Custom Module don't show in apps list after update.
development configuration debug
الصورة الرمزية
الصورة الرمزية
الصورة الرمزية
2
أغسطس 25
1282
Creating a field in res.user is throwing internal server error
development configuration debug
الصورة الرمزية
الصورة الرمزية
الصورة الرمزية
2
يونيو 25
1500
Cron job completes Instantly on production without throwing errors – works correctly on dev تم الحل
development configuration function debug
الصورة الرمزية
الصورة الرمزية
2
سبتمبر 25
1120
Hide invoice header and footer in odoo v17 Enterprise
development configuration accounting debug
الصورة الرمزية
الصورة الرمزية
1
يونيو 25
1464
Need help to pass the cloud test. تم الحل
development configuration contribution debug
الصورة الرمزية
الصورة الرمزية
الصورة الرمزية
2
أكتوبر 25
1375
المجتمع
  • دروس
  • التوثيق
  • المنتدى
مصدر مفتوح
  • تحميل
  • جيت هاب "Github"
  • المشغل الآلي رنبوت
  • الترجمات
خدماتنا
  • استضافة أودو إس إتش
  • الدعم
  • الترقية
  • التطويرات المخصصة
  • التعليم
  • اعثر على محاسب
  • اعثر على شريك
  • كنْ شريكاً
معلومات عنا
  • شركتنا
  • أصول العلامة التجارية
  • اتصلْ بنا
  • الوظائف
  • فعاليات
  • بودكاست
  • مدونة
  • عملاء
  • قانوني • الخصوصية
  • الحماية
الْعَرَبيّة 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

أودو هو عبارة عن مجموعة من تطبيقات الأعمال مفتوحة المصدر التي تغطي جميع احتياجات شركتك، مثل: إدارة علاقات العملاء والتجارة الإلكترونية والمحاسبة والمخزون ونقاط البيع وإدارة المشاريع وما إلى ذلك.

ما يجعل من أودو مميزاً هو هدفه بأن يكون سهل الاستخدام للغاية ومتكاملاً تمامًا في الوقت ذاته.

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