Skip to Content
Menu
This question has been flagged
4742 Rodiniai

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 ?

Portretas
Atmesti
Related Posts Replies Rodiniai Veikla
1
kov. 15
13093
0
liep. 17
3452
2
liep. 25
1717
1
geg. 25
1158
2
geg. 25
1774