Skip to content
Snippets Groups Projects
Commit 864d90a0 authored by Rémy Voet (ryv)'s avatar Rémy Voet (ryv)
Browse files

[FIX] (purchase_)stock,mrp: add indexes for orderpoint_id


Because the "Replenishment" can unlink a lot (thousand of
`stock.warehouse.orderpoint`).
and psql needs to check every Many2one `orderpoint_id` constraint
and without index it takes too much time.

opw-2637321

closes odoo/odoo#76030

Signed-off-by: default avatarWilliam Henrotin <Whenrow@users.noreply.github.com>
parent ebf54c80
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