Skip to Content
Menu
You need to be registered to interact with the community.
This question has been flagged
2 Odgovori
24846 Prikazi

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
Opusti
Avtor Best Answer

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
Opusti

You can find the answer in given link .

Related Posts Odgovori Prikazi Aktivnost
2
sep. 23
7568
2
mar. 23
46616
2
dec. 23
57574
0
mar. 22
2281
3
jun. 20
10538