Skip to Content
Menu
This question has been flagged
4528 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
12895
0
liep. 17
3275
2
liep. 25
1397
1
geg. 25
866
2
geg. 25
1525