Skip to Content
Menu
Dette spørgsmål er blevet anmeldt
4536 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
12902
0
jul. 17
3281
2
jul. 25
1427
1
maj 25
882
2
maj 25
1534