Skip to content
Snippets Groups Projects
Commit ba92e1da authored by Aurélien (avd)'s avatar Aurélien (avd)
Browse files

[IMP] stock: improve stock_inventory action_start perfs


Backport branch odoo/odoo#79587 to v13.

In _get_inventory_lines_values, remove quants recordset
as it has been unused since commit cc9324f7.

Browse product.product in _get_inventory_lines_values
outside of for loop to speedup getting the uom_id.

closes odoo/odoo#80106

Signed-off-by: default avatarWilliam Henrotin (whe) <whe@odoo.com>
parent b4a9e5b8
Branches
Tags
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment