Přejít na obsah
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
Zrušit
Related Posts Odpovědi Zobrazení Aktivita
1
čvc 18
7385
4
úno 25
3368
1
srp 24
2533
2
lis 24
3815
3
říj 23
15286