-
New App: Online Appointments
-
Ask Me Anything: Antony Lesuisse and Fabien PinckaersAntony Lesuisse - Chief Technical Officer, Odooمنتهي
-
Porting Odoo To Python 3: An Overview
Olivier Dony - Software & SaaS Engineer, Security team, Odooمنتهي
-
The Odoo JS Framework
Gery Debongnie - Lead Developer, Odooمنتهي
-
Odoo.sh: AMA
Damien Bouvy (dbo)منتهي
-
Accounting & Localisations: What's new in Odoo 11?Quentin De Paoli - Odoo Developerمنتهي
-
Odoo Studio: A Look Behind The Scene
Martin Geubelle - Developer, Odooمنتهي
-
Empower your App by Inheriting from 8 Mixins
Thibault Delavallee, Software Developer Team Leader - Odooمنتهي
-
A Single Page App Using the Odoo JS Framework
Damien Bouvy (dbo)منتهي
-
Connect External Tools with the API
Nicolas Danhier, Software Developer - Odooمنتهي
After developing the portal module for version 6.1 and contributing on usability improvements for version 7.0, Raphael moved to the "Framework" team, where he designed and implemented the new Model API in version 8.0. He since maintains and improves the server framework and ORM.
This talk presents the best practices to write efficient code in Odoo, i.e., code that performs
reasonably well with large data sets.
Best practices are based on a good understanding of the ORM's underlying mechanisms.
Those mechanisms are flexible enough to support business code with good performance.
This knowledge will help developers to estimate the performance of design choices and
algorithms, and make a good choice given a situation. Each basic operation performs a certain
number of database queries that determines the operation's time cost and performance.
The structure of the talk will be as follows:
- Reading records: cache, data prefetching and environments
- Creating, updating and deleting records
- Computed fields: computation, invalidation and recomputation
- Searching records