Skip to Content
Menu
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
Discard
Related Posts Replies Views Activity
1
Jul 18
5943
1
Aug 24
423
2
Nov 24
755
3
Oct 23
13197
3
Oct 23
4380