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 followed the steps to open the OpenERP 7 folder as a project in Eclipse.
I already installed PyDev, and I am using Python Interpreter version 2.7.
When I opened purchase.py, it gave me errors on some import lines. Upon further research, I found that I have to add external libraries from Project > Properties > PyDev - PYTHONPATH > External Libraries > Add Source Folder.
Example: Error at import pytz, so I added the pytz folder inside OpenERP7>Sever>server
However that did not fix the problem. When I tried to Run the purchse.py file, it gave me this error:
"ImportError: Bad magic number in C:\Program Files (x86)\OpenERP 7.0-20140202-002512\Server\server\os.pyc"
I researched and it said I should delete the .pyc file and build again, however that only made it do the same error on another .pyc file.
I am running Eclipse as an Administrator, and I am running the correct version of th Python Interpreter (which are the two problems suggested to be linked to the "Bad magic number" error I faced earlier.
What am I doing wrong, and how can I fix these issues?
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: 3/24/14, 10:33 AM|
|Seen: 1248 times|
|Last updated: 3/16/15, 8:10 AM|