-
New App: Online Appointments
-
A Single Page App Using the Odoo JS Framework
Damien Bouvy (dbo)已完成
-
The Odoo JS Framework
Gery Debongnie - Lead Developer, Odoo已完成
-
Accounting & Localisations: What's new in Odoo 11?Quentin De Paoli - Odoo Developer已完成
-
Best Practices to Develop Odoo Unit Tests
Thibault François - Technical Consultant Team Leader, Odoo已完成
-
Odoo Studio: A Look Behind The Scene
Martin Geubelle - Developer, Odoo已完成
-
Connect External Tools with the API
Nicolas Danhier, Software Developer - Odoo已完成
-
Porting Odoo To Python 3: An Overview
Olivier Dony - Software & SaaS Engineer, Security team, Odoo已完成
-
Odoo.sh: AMA
Damien Bouvy (dbo)已完成
-
Empower your App by Inheriting from 8 Mixins
Thibault Delavallee, Software Developer Team Leader - 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