Bỏ qua để đến Nội dung
Menu
Câu hỏi này đã bị gắn cờ
4517 Lượt xem

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 ?

Ảnh đại diện
Huỷ bỏ
Bài viết liên quan Trả lời Lượt xem Hoạt động
1
thg 3 15
12884
0
thg 7 17
3273
2
thg 7 25
1393
1
thg 5 25
863
2
thg 5 25
1522