Passa al contenuto
Menu
È necessario essere registrati per interagire con la community.
La domanda è stata contrassegnata
4476 Visualizzazioni

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
Abbandona
Post correlati Risposte Visualizzazioni Attività
1
mar 15
12853
0
lug 17
3246
2
lug 25
1370
1
mag 25
850
2
mag 25
1470