Skip to Content
Menu
You need to be registered to interact with the community.
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
Opusti
Related Posts Odgovori Prikazi Aktivnost
1
jul. 18
7354
4
feb. 25
3297
1
avg. 24
2496
2
nov. 24
3779
3
okt. 23
15235