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
7321
4
Feb 25
3220
1
Aug 24
2462
2
Nov 24
3734
3
Oct 23
15177