Zum Inhalt springen
Menü
Sie müssen registriert sein, um mit der Community zu interagieren.
Diese Frage wurde gekennzeichnet
2 Antworten
24735 Ansichten

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

 

 

Avatar
Verwerfen
Beste Antwort

Hi,

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

Avatar
Verwerfen
Autor Beste Antwort

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'

Avatar
Verwerfen

You can find the answer in given link .

Verknüpfte Beiträge Antworten Ansichten Aktivität
2
Sept. 23
7428
2
März 23
46436
2
Dez. 23
57278
0
März 22
2120
3
Juni 20
10385