Skip ke Konten
Menu
Pertanyaan ini telah diberikan tanda
4483 Tampilan

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
Buang
Post Terkait Replies Tampilan Aktivitas
1
Mar 15
12856
0
Jul 17
3273
2
Jul 25
1382
1
Mei 25
857
2
Mei 25
1490