Skip to Content
Menú
This question has been flagged

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
Descartar
Related Posts Respostes Vistes Activitat
1
de jul. 18
7397
4
de febr. 25
3384
1
d’ag. 24
2539
2
de nov. 24
3826
3
d’oct. 23
15295