Daily updates from Odoo
Wednesday, April 18, 2018
1 change · master
New functionality added to Odoo
Odoo will now create database indexes for linked records automatically unless explicitly disabled. This reduces the need for manual tuning and should help prevent performance bottlenecks as business data grows.
Original PR description
Description of the issue/feature this PR addresses: we got fed up with finding and fixing bottlenecks in database performance by adding databases on an ad hoc basis. Current behavior before PR: Indexes on Many2one fields were only created when index = True in the code. Desired behavior after PR is merged: indexes on Many2one fields are created unless index = False in the code. -- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr