Перейти к содержимому
Меню
Чтобы взаимодействовать с сообществом, необходимо зарегистрироваться.
Этот вопрос был отмечен
4897 Представления

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 

Аватар
Отменить
Related Posts Ответы Просмотры Активность
1
июл. 18
7332
4
февр. 25
3241
1
авг. 24
2471
2
нояб. 24
3743
3
окт. 23
15194