Odoo is the world's easiest all-in-one management software. It includes hundreds of business apps:
CRM | e-Commerce | Accounting | Inventory | PoS | Project management | MRP | etc.
I'm a newbie in OpenERP, I want to setup the environment development in Eclipse.
After getting Odoo V8 from Git and create project and then compile the project; i'm getting this error:
Traceback (most recent call last):
File "C:\Users\user1\git\odoo\openerp-server.py", line 2, in <module>
File "C:\Users\user1\git\odoo\openerp\__init__.py", line 70, in <module>
ImportError: No module named 'conf'
NB: I'm using python V3.4
Any help plz ?!
I have stuggled with this today also, and I was able to solve it, but you need python 2.7 for odoo v8.
In Eclipse you have to set some variables before you can correctly run the odoo sever, typically you have to set some variables to the correct value. Like in this case it seams your odoo-server cannot find the modules, because you don't have the add-on locations passed to the server.
like for example the following command parameters:
-c /etc/odoo-server.conf --logfile=LOGFILE --addons-path=ADDONS_PATH
Within eclipse you have to find the run-configurations and you have to enter the variables on the second tab of that screen.
I suggest you take a look at how to configure eclipse for python, especially how to pas some command line parameters to the python file.
if you find this information usefull, please give me a thumbs-up vote!
Uhm, I think you confused some things there. You do not need to compile OpenERP. Just running the the right python file (openerp-server.py) will get you compiled files for what is needed.
Secondly, OpenERP runs on Python version 2.7+, but I believe (I could be wrong here) that it must be at least a python 2 version, not version 3.
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
|Asked: 10/1/14, 6:47 AM|
|Seen: 1515 times|
|Last updated: 3/16/15, 8:10 AM|