Back to Blog
OdooPythonERP

Building Odoo Modules from Scratch

April 10, 2026 8 min read

Module Structure

A basic Odoo module requires a __manifest__.py, models, views, and security files.

Creating a Model

``python from odoo import models, fields class MyModel(models.Model): _name = "my.model" name = fields.Char(required=True) ``

Best Practices

Always inherit from existing models when possible and follow Odoo coding guidelines.