Short answer: Odoo developer interviews cover Python fundamentals, the Odoo ORM (models, fields, recordsets, computed and related fields, @api decorators), inheritance (classic, prototype, delegation), XML views and QWeb reports, security (access rights and record rules) and performance. Most Pakistani employers add a practical task: build a small module with a model, views, a computed field and a report.
Odoo Careers · Interviews
Odoo Technical and Developer Interview Questions
Python, ORM, inheritance, views, QWeb, security and performance — with the answers interviewers look for.
By Pearl Solutions · Updated October 2026 · 10 min read
Key takeaways
- Know the ORM cold: recordsets, computed/related fields, onchange vs compute.
- Be able to explain the three inheritance types with an example.
- Expect a practical task — practise building a small module end-to-end.
Python and ORM questions
- What is a recordset?
An ordered collection of records of one model; methods run on the whole set, so loops over self are normal. - Computed vs related vs stored fields?
Computed fields derive values in a method; related fields follow a relation; store=True saves the value so it can be searched and grouped, recomputed when dependencies change. - What does @api.depends do?
Declares the fields a computed field depends on, so Odoo knows when to recompute. - @api.onchange vs @api.depends?
Onchange only runs in the form UI and isn't triggered by code; depends-based compute works everywhere — prefer compute. - @api.constrains?
Validates field values on save and raises a ValidationError. - Difference between search, browse and read_group?
Search finds records by domain; browse gets records by id; read_group aggregates — use it for reports instead of looping. - What are domains?
Lists of conditions in Polish notation, e.g. ['|', ('state','=','draft'), ('amount','>',0)]. - What does sudo() do, and when is it dangerous?
Runs as superuser, bypassing access rules — dangerous when user input decides what is read or written.
Inheritance questions
| Type | Declared with | Use |
|---|---|---|
| Classic (extension) | _inherit = 'sale.order' | Add fields or override methods on an existing model |
| Prototype | _name + _inherit | New model copying an existing one's features |
| Delegation | _inherits = {'res.partner': 'partner_id'} | New model that embeds another's fields via a link |
Also expect: "How do you call the parent method?" — super(), and always return its result.
Views and QWeb questions
- How do you add a field to an existing form view?
Inherit the view and use an XPath or field locator with position="after". - What is QWeb?
Odoo's XML templating engine for PDF reports and website pages — t-foreach, t-if, t-field, t-esc. - How do you create a PDF report?
A report action plus a QWeb template, usually inheriting the external layout. - What are actions and menus?
Window actions open views of a model; menus point to actions.
Security questions
- Access rights (ir.model.access.csv) control create/read/write/delete per group and model.
- Record rules restrict which records a group can see, e.g. "salespeople see only their own orders".
- Groups bundle rights; fields can be limited with groups=.
Performance questions
- Avoid queries inside loops — prefetch with recordsets, use read_group for totals.
- Store computed fields that are searched or grouped often.
- Batch create with a list of dicts.
- Use scheduled actions (cron) for heavy jobs instead of doing them on button clicks.
The practical task
Many employers give a 2–4 hour task, for example: "Create a module for equipment loans: a model with a partner, equipment and return date, a computed 'overdue' field, list/form/search views, a menu, access rights and a PDF loan slip." They look for clean manifest and folder structure, correct security files, a working computed field, and code they can read.
The full overview for both roles is in Odoo interview questions and answers.
Train with an implementation partner. Pearl Solutions is an Official Odoo Partner in Lahore, delivering ERP since 2006 — 400+ ERP implementations across platforms, 30 of them on Odoo. Our courses are built on real implementation work.
Related reading
- Odoo interview questions and answers
- How to become an Odoo developer in Pakistan
- Odoo developer vs functional consultant
Frequently Asked Questions
Expect Python basics, the Odoo ORM (recordsets, computed and related fields, api decorators, domains), the three inheritance types, XML views and QWeb reports, security with access rights and record rules, performance, and often a practical task to build a small module.
Classic inheritance with _inherit extends an existing model; prototype inheritance with _name and _inherit creates a new model copying an existing one; delegation inheritance with _inherits embeds another model's fields through a link.
Typically a 2-4 hour task to build a small module: a model, list/form/search views, a menu, a computed field, access rights and sometimes a QWeb PDF report.
Pearl Solutions is an Official Odoo Partner based at 590 Shadman I, Lahore, Pakistan, with a verifiable profile on odoo.com. The company has delivered ERP since 2006 with 400+ ERP implementations across platforms and 150+ clients, and has completed 30 Odoo implementations since becoming an Odoo partner, at a 91% client retention rate. Work is delivered in English and Urdu, with particular depth in manufacturing, distribution and retail. Call +92 300 7774979 or email info@pearlsol.com.