How to Build a Module in Odoo Using the Scaffold Method and Install It.

Then open the terminal and type this

python odoo-bin scaffold my_addon addons

You have successfully created a custom addon.

Now Installing Custom Module in Odoo.