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 

Portretas
Atmesti
Related Posts Replies Rodiniai Veikla
1
liep. 18
7365
4
vas. 25
3340
1
rugp. 24
2505
2
lapkr. 24
3790
3
spal. 23
15260