Skip to main content

"What's New in Odoo 20" — covers the headline feature (agentic AI that can take actions, not just answer questions), the native MCP server, database-wide natural language search, the redesigned mobile app, and accounting/e-invoicing updates. Ends with honest guidance: it's not fully generally available yet, so there's no rush to upgrade immediately, but it's a good moment to start planning if you're on Odoo 17/18.

Odoo 20 was just unveiled today at Odoo Experience 2026 in Brussels, during the opening keynote by founder and CEO Fabien Pinckaers. It's not generally available yet (that's still a few weeks out), but the direction is now official. Here's what's actually new. The headline: AI that takes action, not just answers Odoo 19 introduced AI that could answer questions. Odoo 20 pushes it further: agentic AI that can actually execute tasks inside your database. Think reassigning unclosed leads in CRM based on rules you set, or building a full project with stages and tasks straight from an uploaded document. What else is new Native MCP server (Enterprise): AI assistants can connect directly to your Odoo database without extra middleware. Database-wide natural language search: ask a plain-language question and get answers pulled straight from your records, no filters to configure. Redesigned mobile app: a rebuilt touch interface running on Owl 3, with offline se...

Mastering Odoo Development: A Guide to Creating Your First Module with the Scaffold Command

Getting Started with Odoo Scaffold Module

Getting Started with Odoo Scaffold Module

Odoo is a powerful and flexible suite of business applications, and one of its strengths is the ability to create custom modules tailored to specific business needs. The scaffold command is a great way to quickly generate a basic module structure, saving time and ensuring consistency. In this blog post, we'll walk through the process of using the Odoo scaffold module command to kickstart your module development.

What is the Odoo Scaffold Command?

The scaffold command in Odoo is used to create a new module with a predefined structure. This structure includes the necessary directories and files to get you started, allowing you to focus on developing your module's functionality rather than setting up the basic framework.

Step-by-Step Guide to Using the Scaffold Command

Step 1: Setting Up Your Environment

Before you can use the scaffold command, ensure that you have Odoo installed and properly configured on your system. You should also have access to the terminal or command line interface (CLI).

Step 2: Navigating to Your Odoo Addons Directory

Open your terminal and navigate to the Odoo addons directory where you want to create your new module. This directory is typically located in your Odoo installation directory. For example:

cd /path/to/your/odoo/addons

Step 3: Running the Scaffold Command

Use the scaffold command followed by the name of your new module and the path to your addons directory. For example, to create a module named my_module, you would run:

odoo-bin scaffold my_module /path/to/your/odoo/addons

This command will generate a new directory named my_module with the basic structure and files needed for an Odoo module.

Step 4: Exploring the Generated Module

After running the scaffold command, you will see a new directory with the following structure:

my_module/
├── __init__.py
├── __manifest__.py
├── controllers/
│   ├── __init__.py
│   └── controllers.py
├── models/
│   ├── __init__.py
│   └── models.py
└── views/
    └── views.xml
        

This structure includes:

  • __init__.py: Initializes the module and its sub-packages.
  • __manifest__.py: Contains the module's metadata such as name, version, dependencies, and data files to be loaded.
  • controllers/: Directory for your module's controller files.
  • models/: Directory for your module's model files.
  • views/: Directory for your module's view files.

Next Steps

With the basic structure in place, you can now start developing your module by defining models, views, controllers, and other necessary components. Customize the __manifest__.py file to include the details and dependencies specific to your module.

Note: Be sure to restart your Odoo server and update the module list in the Odoo interface after creating your new module to ensure it is recognized and can be installed.

Conclusion

The Odoo scaffold command is a powerful tool that simplifies the initial setup of a new module, allowing you to focus on developing the functionality that meets your business needs. By following the steps outlined in this guide, you can quickly create a robust foundation for your custom Odoo modules.

Happy coding!

Comments

Popular posts from this blog

flectra Installation Steps

This documents for How to install Flectra in Linux and Windows. This documents provide installation steps. Step :1 Execute the following command in root to install PostgreSQL server : #apt-get install postgresql -y   Step :2 Flectra provides a repository for you can used with Linux enviornment Like  Debian and Ubuntu. It can be used to install Flectra by using command in root : # wget -O - https://nightly.flectra.com/flectra.key | apt-key add - # echo "deb http://nightly.flectra.com/11.0/nightly/deb/ ./" >> /etc/apt/sources.list.d/flectra.list # apt-get update && apt-get install flectra You can then use the usual apt-get upgrade command to keep your installation up-to-date.  Step :3 You can use repository as well 'deb' package downloaded here : Community Edition : Flectrahq note : if Python is already installed, make sure it is 3.5 or above, previous versions are not compatible with Flectra.If python is not install than inst...

Odoo Developer mode ( How to start debug mode in odoo ??)

Using Developer mode, you get more access and an extra right in Odoo ERP. This feature very useful for Developers. You can active this features using two method. Active through the settings. Click on Setting Menu -> Click on Active the Developer Mode. Note : Active the Developer mode with assets is used by developers. Activate the developer mode (with tests assets) is used by developers and testers.' Active through browser Url. Just add ?debug=1 or ?debug=true in browser url after web. Note : Developers: type ?debug=assets and activate the mode with assets You can also use Odoo Debug browser extension for active and deactive mode.

Flectra Module/App

Flectra focusing on grow your business with powerful modular design. Here are the basic Flectra modules: CRM Sales Invoicing Accounting Purchase Inventory HR POS Manufacturing Expenses Documents Docusign No-Code Sudio Project Helpdesk Marketing Subscriptions Website eComm Blog PLM Maintenance Rental Timesheet Survey eLearning Appointments Time off Email Marketing Live Chat Signnow If you wan to know more bout Flectra installation click here