Launch offer
Business website $150 USD Custom plugin $200 USD Ready in 5 days
Get a quote
Odoo

Recordsets in Odoo

Work with sets of records: iteration, mapped, filtered, sorted, ensure_one.

Recordsets in Odoo — a practical guide to Odoo recordsets with clear examples you can reuse in real projects.

Odoo Tutorial Series (34/112). Prefer one article? Read the complete Odoo tutorial.

Short description

Recordsets are the core ORM unit — methods usually operate on self as a set.

Recordset helpers

names = books.mapped('name')
active = books.filtered('active')
book = books.ensure_one()

Leave a reply

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