Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Save more on your purchases now! discount-offer-chevron-icon
Savings automatically calculated. No voucher code required.
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Conferences
Free Learning
Arrow right icon

How to Scaffold a New module in Odoo 11

Save for later
  • 2 min read
  • 25 May 2018

article-image

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:

Step 1


In the first step, you need to navigate to /opt/odoo/odoo and create a folder name custom_addons.

Step 2


In the second step, you scaffold a new module into the custom_addons. For this,

  • Locate odoo-bin
  • Unlock access to the largest independent learning library in Tech for FREE!
    Get unlimited access to 7500+ expert-authored eBooks and video courses covering every tech area you can think of.
    Renews at £16.99/month. Cancel anytime
  • 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.

ERP tool in focus: Odoo 11
Building Your First Odoo Application
Top 5 free Business Intelligence tools