跳至內容
選單
此問題已被標幟
4358 瀏覽次數

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 ?

頭像
捨棄
相關帖文 回覆 瀏覽次數 活動
1
3月 15
12735
0
7月 17
3115
1
5月 25
741
2
5月 25
1332
0
11月 24
1114