In this blog, I will tell you about how to develop your own module in Odoo.
Creating Directory:
Create a directory to place your newly developed application using the following command :
mkdir myaddons
Add this directory to your odoo configuration file (odoo.conf) so that the odoo server can detect all the applications within this directory.
sudo subl /etc/odoo/odoo.conf
Edit the addons_path variable by adding the full path of the new directory preceded by a comma ( , ) as shown below:
addons_path = /usr/lib/python3/dist-packages/odoo/addons
Configuration:
The odoo.conf file would look like this:
[options] ; This is the password that allows database operations: ; admin_passwd = admin db_host = False db_port = False db_user = odoo db_password = False addons_path = /usr/lib/python3/dist-packages/odoo/addons,/home/halcyoona/myaddons
Create the skeleton for your new Application using the command below ! I am calling this application: myconferences.
odoo scaffold myconferences