Odoo Experience 2018
Let's Create Records Faster!
Developer
Location: Aula Magna / Foyer du Lac - 10/3/18, 12:30 PM - 10/3/18, 12:50 PM (Europe/Brussels) (20 minutes)
Let's Create Records Faster!
Raphael Collet - Odoo Developer
Framework Developer
Raphael Collet - Odoo Developer
Framework Developer

The create() method of the ORM has been changed to create several records in batch, which improves the performance of creation.

This talk explains the motivation behind the change: the queries to trigger the recomputations are performed once for the batch instead of once for each record. Several examples show how to use it, and how to override the create() method.