Create new Module in Odoo using Scaffold

Introduction


Odoo follows modularized architecture when developing new features or inheriting some existing features. Two files are necessary to install every odoo module. Those files are

__init__.py
__manifest__.py

To create a module structure, we need to follow the following command

./odoo-bin scaffold module_name folder_path

module_name: Name of the moudle which implements new features or inherit existing features

folder_path: Directory of the module to create

./odoo-bin scaffold new_module /opt/custom_addon

Example

1 thought on “Create new Module in Odoo using Scaffold”

Leave a Comment

Your email address will not be published. Required fields are marked *

Scroll to Top