I'm working on Centos 7 / Odoo 10,
How can I create new module using Odoo framework ?
I searched help and I found this command :
odoo-bin scaffold <module name> <where to put it>
I run it but an error occurred :
bash: odoo-bin: command not found...
odoo-bin needs to be run from the directory where it exists in your file system OR added to your $PATH
for instance my odoo-bin is within
if I cd into /odoo/odoo-server I can then run:
./odoo-bin scaffold mymodule /odoo/custom/addons/
I need the ./ in here because /odoo/odoo-server is not in my $PATH
where /odoo/custom/addons is my directory for custom made modules so as not to interfere with odoo base modules. This can be setup from the command line and by editing /etc/odoo-server.conf (my installation is on Ubuntu fyi)
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: 12/1/16, 8:42 AM|
|Seen: 42 times|
|Last updated: 12/2/16, 11:46 AM|