Odoo Slides

Experience the world’s most advanced technology to grow and build your business.

how to use sorted method in odoo 18
The sorted() method in Odoo 18 allows developers to reorder recordsets in memory using field names or custom lambda functions. It is essential for organizing data after retrieval, returning a new recordset that maintains Odoo's ORM capabilities. This method provides a flexible way to handle UI presentation and document sequencing without additional database queries.
WhatsApp