コンテンツへスキップ
メニュー
この質問にフラグが付けられました
2 返信
24837 ビュー

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

 

 

アバター
破棄
著作者 最善の回答

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 .

関連投稿 返信 ビュー 活動
2
9月 23
7562
2
3月 23
46612
2
12月 23
57571
0
3月 22
2276
3
6月 20
10536