Skip to Content
Menu
Musisz się zarejestrować, aby móc wchodzić w interakcje z tą społecznością.
To pytanie dostało ostrzeżenie

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 

Awatar
Odrzuć
Powiązane posty Odpowiedzi Widoki Czynność
1
lip 18
7343
4
lut 25
3273
1
sie 24
2481
2
lis 24
3763
3
paź 23
15211