Skip to Content
Menu
Musisz się zarejestrować, aby móc wchodzić w interakcje z tą społecznością.
To pytanie dostało ostrzeżenie

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 ?

Awatar
Odrzuć
Powiązane posty Odpowiedzi Widoki Czynność
1
mar 15
12860
0
lip 17
3273
2
lip 25
1388
1
maj 25
861
2
maj 25
1518