Odoo Help

1

Pycharm configuration, lack of openerp imports

By
Roman
on 9/5/16, 7:11 AM 439 views

    Hello, I'm quite new in Phyton, and struggling with strange issue. My interperter can not resolve any import OPENERP, did I wrongly installed it? How to add this library to enviroment? Thanks in advance :)    

0
Shameem
On 10/29/16, 4:09 AM

Roman,

It is a common issue when installing odoo 10. I don't know what you are installing

It's solution is

Small change in odoo-server file
Put odoo instead of openerp


#!/usr/bin/env pythonimport openerp
import openerp
if __name__ == "__main__":
    openerp.cli.main()

to

#!/usr/bin/env pythonimport odoo
import odoo
if __name__ == "__main__":
    odoo.cli.main()


0
保定-粉刷匠
On 10/28/16, 9:10 AM

What are you using,Pycharm or Eclipse?

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: 9/5/16, 7:11 AM
Seen: 439 times
Last updated: 10/29/16, 4:09 AM