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

I am tring  to inherit HttpRequest class and override disptch method , so i did the following :

from openerp.addons import web

class my_httprequest(web.http.HttpRequest):
    
    def dispatch(self, method):

        # new code 

 

however the original dispatch method is still being executed 

Ảnh đại diện
Huỷ bỏ
Bài viết liên quan Trả lời Lượt xem Hoạt động
1
thg 7 18
7321
4
thg 2 25
3220
1
thg 8 24
2463
2
thg 11 24
3735
3
thg 10 23
15177