Skip to content
Snippets Groups Projects
Commit 5fc448e7 authored by Florent de Labarre's avatar Florent de Labarre Committed by GitHub
Browse files

[FIX] stock: add index


Before this commit, in large database, openning a sale.order can take 3s.
Because in module sale_purchase_stock, _get_purchase_order use a On2many field : stock_move_ids, with inverse field group_id.

Now it takes 200 ms.

closes odoo/odoo#110128

Signed-off-by: default avatarWilliam Henrotin (whe) <whe@odoo.com>
parent f15cbf2c
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment