Skip to Content
Menu
This question has been flagged
4509 Zobrazenia

I want to override the function dispatch in HttpRequest [addons\web\http.py] in a custom module, in my new module i write this code :

class HttpRequest(openerp.addons.web.http.HttpRequest):
    def dispatch(self, method):
        """ override here """

 

But the override not work , how to implement my code ?

Avatar
Zrušiť
Related Posts Replies Zobrazenia Aktivita
1
mar 15
12861
0
júl 17
3273
2
júl 25
1390
1
máj 25
862
2
máj 25
1519