I created the folder in training openerp / addons and 4 file (init, openerp, training.py, and XML), and when I run the server with the camande "./openerp-server - addons-path = .. / openerp / addons " it does not work,
there is a solution?
You need to give addons path like below.
python odoo.py --addons addons
Because you have put your module inside odoo/openerp/addons so from above code you can get all modules.
But if you have a diffrent modules path so you have to do :
if your module is in folder_a/modules
python odoo.py --addons addons,../../folder_a/modules
Hope that this answer will help you.
Please don't hesitate to ask any question regarding this.
Make sure that the addons directory you created is also readable by the odoo (openerp) server. On unix system you can do this by:
chown -R odoo:odoo /opt/odoo/custom/addons
replace the odoo:odoo with the user and group information the server is running under. Also adjust the path to yours.
Please try to give a substantial answer. If you wanted to comment on the question or answer, just use the commenting tool. Please remember that you can always revise your answers - no need to answer the same question twice. Also, please don't forget to vote - it really helps to select the best questions and answers!
About This Community
|Asked: 1/15/15, 11:01 AM|
|Seen: 3053 times|
|Last updated: 3/16/15, 8:10 AM|