Skip to Content
मेन्यू
This question has been flagged
2 Replies
24845 Views

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
Discard
Author 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
Discard

You can find the answer in given link .

Related Posts Replies Views Activity
2
सित॰ 23
7568
2
मार्च 23
46615
2
दिस॰ 23
57572
0
मार्च 22
2279
3
जून 20
10538