Pular para o conteúdo
Menu
Esta pergunta foi sinalizada
4761 Visualizações

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
Cancelar
Publicações relacionadas Respostas Visualizações Atividade
1
mar. 15
13097
0
jul. 17
3460
2
jul. 25
1726
1
mai. 25
1164
2
mai. 25
1779