The latest version of Odoo ERP, Odoo 11, brings a plethora of features to Odoo targeting business application development. The market for Odoo is growing enormously and if you have thought about developing in Odoo, now is the best time to start. This hands-on video course, Odoo 11 Development Essentials, by Riste Kabranov, will help you get started with Odoo to build powerful applications.
What is Scaffolding?
With Scaffolding, you can automatically create a skeleton structure to simplify bootstrapping of new modules in Odoo. Since it’s an automatic process, you don’t need to spend efforts in setting up basic structures and look for starting requirements.
Oddo has a scaffold command that creates the skeleton for a new module based on a template. By default, the new module is created in the current working directory, but we can provide a specific directory where to create the module, passing it as an additional parameter.
A step-by-step guide to scaffold a new module in Odoo 11:
In the first step, you need to navigate to /opt/odoo/odoo and create a folder name custom_addons.
In the second step, you scaffold a new module into the custom_addons. For this,
- Locate odoo-bin
- Use ./odoo-bin scaffold module_name folder_name to scaffold a new empty module
- Check if the new module is there and consists all the files needed.
Check out the video for a more detailed walkthrough!
This video tutorial has been taken from Odoo 11 Development Essentials. To learn how to build and customize business applications with Odoo, buy the full video course.