Daily updates from Odoo
Sunday, April 26, 2026
1 change · saas-19.2
Resolved issues and error corrections
This update optimizes the performance of the project list view, which is used to manage projects within the system. Previously, the view's rendering was slow due to inefficient calculations. Now, the system only checks for company differences once, significantly speeding up the loading time for project lists, especially those with many records.
Original PR description
Before this commit, to render the table, the project list view computed the list of selected records once for each cell, and then iterated over that selection to check whether selected projects were all associated with the same company (to set the stage_id field readonly if not). However, computing the selection requires to iterate over all records, so the rendering was O(n^2). As a consequence, the rendering of (not so) large tables was very slow (~1s for 80 records). With this commit, we compute only once for the whole table whether the selection contains records from different companies. Forward-Port-Of: odoo/odoo#260752