İçereği Atla
Menü
Bu soru işaretlendi
4921 Görünümler

I am tring  to inherit HttpRequest class and override disptch method , so i did the following :

from openerp.addons import web

class my_httprequest(web.http.HttpRequest):
    
    def dispatch(self, method):

        # new code 

 

however the original dispatch method is still being executed 

Avatar
Vazgeç
İlgili Gönderiler Cevaplar Görünümler Aktivite
1
Tem 18
7357
4
Şub 25
3305
1
Ağu 24
2498
2
Kas 24
3779
3
Eki 23
15237