When Odoo's standard apps and configuration can't cover a requirement, the answer is a custom module. Custom modules are where Odoo ERP development earns its value – and where poor work does the most damage. This guide explains how custom Odoo modules are planned, built, tested and maintained, so you know what to expect when you hire an Odoo ERP developer.
What is an Odoo module?
Everything in Odoo is a module – Sales, Inventory and Accounting are modules too. A custom module is a self-contained package that adds or changes features. Because it's separate from Odoo's core, it can be installed, upgraded or removed independently. That separation is what keeps your system upgradeable.
Anatomy of a custom module
- Manifest (
__manifest__.py) – name, version, dependencies, data files. - Models – Python classes that define data and business logic, stored in PostgreSQL through Odoo's ORM.
- Views – XML that defines forms, lists, kanban boards, search filters and menus.
- Security – access rights (which groups can read, write, create, delete) and record rules (which records they see).
- Reports – QWeb templates for PDFs like invoices, challans or certificates.
- Front-end components – OWL (Odoo's JavaScript framework) for custom widgets and interactive screens.
- Data and demo files – default records, sequences, email templates.
- Tests – automated tests for critical logic.
The development process, step by step
1. Requirement and design
Start with the business outcome: "Track dealer commissions by product category and pay them monthly." Then design the data – which new models, which fields on existing models, which screens and reports.
2. Check what exists
Before writing code, check Odoo's standard features and the Odoo Apps store. Sometimes a well-maintained app covers 80% of the need. Sometimes it doesn't, or its code quality is poor – but it's worth checking.
3. Build on staging
The developer builds on a copy of your database, using inheritance to extend standard models and views rather than editing them.
4. Security from day one
Access rights and record rules are defined with the models, not bolted on at the end, and tested with non-admin users.
5. Review and test
Code review by a second developer, automated tests for critical calculations, and user testing on staging with realistic data.
6. Deploy and document
Deployment to production after approval, with a README explaining what the module does, its settings, and any known limits.
Examples of custom Odoo modules
- Dealer and sales commission management
- Quality inspection checklists linked to receipts and production
- Job work tracking for materials sent to outside processors
- Service and AMC contracts with visit scheduling
- Custom approval matrices by amount, department or product
- Industry workflows – textiles, jewellery, dairy, pharma, education
- Integrations with marketplaces, couriers, payment gateways and WhatsApp
Best practices that keep modules healthy
- One clear purpose per module. Avoid one giant "custom" module that does everything.
- Never modify Odoo core or third-party code directly – always inherit.
- Prefer stored computed fields carefully; think about performance on large data.
- Avoid hard-coded IDs and values; use configuration and XML IDs.
- Write tests for money and stock calculations.
- Keep everything in version control with meaningful commit messages.
- Plan for upgrades: Odoo ships a new major version every year (Odoo 20 arrived in September 2026), and every custom module must move with it.
How long and how much?
A small module with a few models and screens might take a week or two. Complex modules with integrations, heavy reporting or custom front-end screens take longer. The biggest cost drivers are complexity of logic, number of integrations, and how much testing is needed. See our Odoo developer cost in India guide for typical rates.
Hire an Odoo ERP developer from Light Animation
Our developers build custom Odoo modules as clean, independent Python packages – designed with you, built and reviewed on staging, documented, and committed to your repository. We also handle QWeb reports, OWL front-end work, integrations and version upgrades.
Hire an Odoo ERP developer, or see our ERP development and CRM development services.
FAQs
What language are Odoo modules written in?
Python for business logic, XML for views and data, JavaScript (OWL) for the front end, with PostgreSQL as the database.
Will my custom module work after an Odoo upgrade?
Usually it needs some updating. Clean, well-structured modules need far less work than ones that modify core code.
Can I sell or reuse my custom module?
If you own the code (which you should), yes – subject to Odoo's licensing for the edition and dependencies involved.
