Odoo Help

0

from openerp import http ImportError: cannot import name http

By
548
on 6/11/14, 7:24 AM 7,905 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

 

 

0
548
On 6/11/14, 8:30 AM

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 .

Nehal
on 6/11/14, 8:49 AM

About This Community

This platform is for beginners and experts willing to share their Odoo knowledge. It's not a forum to discuss ideas, but a knowledge base of questions and their answers.

Register

Odoo Training Center

Access to our E-learning platform and experience all Odoo Apps through learning videos, exercises and Quizz.

Test it now

Question tools

1 follower(s)

Stats

Asked: 6/11/14, 7:24 AM
Seen: 7905 times
Last updated: 3/16/15, 8:10 AM