Skip to Content
Meniu
Trebuie să fiți înregistrat pentru a interacționa cu comunitatea.
Această întrebare a fost marcată
2 Răspunsuri
24742 Vizualizări

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

 

 

Imagine profil
Abandonează
Cel mai bun răspuns

Hi,

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

Imagine profil
Abandonează
Autor Cel mai bun răspuns

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'

Imagine profil
Abandonează

You can find the answer in given link .

Related Posts Răspunsuri Vizualizări Activitate
2
sept. 23
7451
2
mar. 23
46460
2
dec. 23
57316
0
mar. 22
2135
3
iun. 20
10406