تخطي للذهاب إلى المحتوى
القائمة
لقد تم الإبلاغ عن هذا السؤال
4581 أدوات العرض

I want to override the function dispatch in HttpRequest [addons\web\http.py] in a custom module, in my new module i write this code :

class HttpRequest(openerp.addons.web.http.HttpRequest):
    def dispatch(self, method):
        """ override here """

 

But the override not work , how to implement my code ?

الصورة الرمزية
إهمال
المنشورات ذات الصلة الردود أدوات العرض النشاط
1
مارس 15
12954
0
يوليو 17
3300
2
يوليو 25
1483
1
مايو 25
953
2
مايو 25
1577