Passa al contenuto
Menu
È necessario essere registrati per interagire con la community.
La domanda è stata contrassegnata
4960 Visualizzazioni

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
Abbandona
Post correlati Risposte Visualizzazioni Attività
1
lug 18
7421
4
feb 25
3410
1
ago 24
2559
2
nov 24
3857
3
ott 23
15318