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

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
12860
0
7月 17
3273
2
7月 25
1388
1
5月 25
861
2
5月 25
1519