Skip to Content
Menu
Dette spørgsmål er blevet anmeldt
4516 Visninger

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
Kassér
Related Posts Besvarelser Visninger Aktivitet
1
mar. 15
12884
0
jul. 17
3273
2
jul. 25
1393
1
maj 25
863
2
maj 25
1522