Skip to Content
Меню
Вам необхідно зареєструватися, щоб взаємодіяти зі спільнотою.
Це запитання позначене
2 Відповіді
24866 Переглядів

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
7585
2
бер. 23
46630
2
груд. 23
57592
0
бер. 22
2296
3
черв. 20
10557