Skip to content
Snippets Groups Projects
Commit 96f8321e authored by William Henrotin's avatar William Henrotin
Browse files

[FIX] stock: domain optimization


'State' field on stock move is indexed. Some domains on stock move state
are expressed like (state, not in, ('a', 'b', 'c')) instead of (state,
in, ('d', 'e', 'f', NULL)). The 'not in' domain won't the index and thus
will be relatively slower

closes odoo/odoo#106740

Signed-off-by: default avatarRémy Voet <ryv@odoo.com>
parent 4c17020f
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