summaryrefslogtreecommitdiff
path: root/addons/base_setup/data/base_setup_data.xml
diff options
context:
space:
mode:
authorNathan de Pryck <nde@odoo.com>2019-04-08 11:34:37 +0000
committerNathan de Pryck <nde@odoo.com>2019-04-11 11:41:02 +0000
commit62f98e34c8aa0fbc1755fec9919396c853c171dc (patch)
treeef592d52a43a848996933ad242349a05e1d6ee1f /addons/base_setup/data/base_setup_data.xml
parent6cbecced3d9ade705f7002bbca14477dcccd9297 (diff)
[FIX] stock_account: Performance of _compute_stock_value
On the ticket 1961412, the custommer has more than 12 millions of stock moves. Before this commit, the search request does not take too much time to execute but fetching the fields on the recordset takes a lot of time due to the 'in' in the where clause of the associated SQL request. This optimization permit to avoid this 'where clause' and decrease the time to gather all the different fields. The time has been reduce to less than one minutes where it takes approximately 20 minutes before. closes odoo/odoo#32520 Signed-off-by: Simon Lejeune (sle) <sle@openerp.com>
Diffstat (limited to 'addons/base_setup/data/base_setup_data.xml')
0 files changed, 0 insertions, 0 deletions