Skip to main content

Odoo

Overview

Odoo is an open-source ERP / business suite (CRM, accounting, inventory, HR, e-commerce) built in Python with a PostgreSQL database and a modular addon system. Implementers customize through configuration, XML views, ORM models, and QWeb templates.

Key concepts

  • Modules / addons — Python packages extending models, views, security.
  • ORM — Model definitions with fields, constraints, and workflows.
  • Views — XML declarative UI (list, form, kanban, etc.).
  • Security — Groups, access rights, record rules.
  • Studio (enterprise) — Low-code customization layer.

Module load order (simplified)

Sample: model field sketch

from odoo import models, fields

class LibraryBook(models.Model):
_name = 'library.book'
name = fields.Char(required=True)
isbn = fields.Char()

References