Skip ke Konten
Menu
Pertanyaan ini telah diberikan tanda
4776 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
13116
0
Jul 17
3474
2
Jul 25
1734
1
Mei 25
1168
2
Mei 25
1782