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.
When we download Odoo Community from https://nightly.odoo.com/10.0/nightly/src/, there is no odoo-bin file at the root.
On Github, somebody said to me to execute the file ./setup/odoo to run Odoo from source.
So, I execute this command in the terminal :
python ./setup/odoo -c /etc/odoo/openerp-server-10.conf
I get this error :
Traceback (most recent call last):
File "/home/odoo-10/odoo-10.0-20161123/setup/odoo", line 2, in <module> __import__('pkg_resources').declare_namespace('odoo.addons')
File "/usr/lib/python2.7/dist-packages/pkg_resources.py", line 1910, in declare_namespace path = sys.modules[parent].__path__
But if I rename the file ./setup/odoo for ./setup/odoo-bin (I rename it because there already is a directory named odoo at the root) and I copy this file at the root, Odoo runs correctly with :
python ./odoo-bin -c /etc/odoo/openerp-server-10.conf
So, my question is, how could I run Odoo with ./setup/odoo directly from this directory without copying the file at the root each time I download new sources?
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: 11/23/16, 9:47 AM|
|Seen: 1530 times|
|Last updated: 3/29/17, 5:22 AM|