Přejít na obsah
Menu
You need to be registered to interact with the community.
This question has been flagged
4500 Zobrazení

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šit
Related Posts Odpovědi Zobrazení Aktivita
1
bře 15
12860
0
čvc 17
3273
2
čvc 25
1388
1
kvě 25
861
2
kvě 25
1519