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

I just add this module in addons and than restart the services so i get this error:

  File "/opt/openerp/openerp-7.0-20140519-231318/openerp/addons/im/__init__.py", line 2, in <module>
    import im
  File "/opt/openerp/openerp-7.0-20140519-231318/openerp/addons/im/im.py", line 30, in <module>
    from openerp import http
ImportError: cannot import name http

 

 

Аватар
Отменить
Лучший ответ

Hi,

Refer the following link :
https://www.odoo.com/forum/Help-1/question/What-happened-to-module-openerphttp-44919

Аватар
Отменить
Автор Лучший ответ

i added this from openerp.addons.web import http as http and from openerp.addons.web import http as request so now i am getting the below error

@http.route('/longpolling/im/poll', type="json", auth="none") AttributeError: 'module' object has no attribute 'route'

Аватар
Отменить

You can find the answer in given link .

Related Posts Ответы Просмотры Активность
2
сент. 23
7556
2
мар. 23
46612
2
дек. 23
57570
0
мар. 22
2274
3
июн. 20
10534