Skip to content
Snippets Groups Projects
Commit 7e3fbfaf authored by jvm-odoo's avatar jvm-odoo
Browse files

[FIX] web: fix in and not in js domain


This commit fix the in and not in operators
in domain.js.

_.contains works only if you have an array
in the left part.

So if you have an array in the right part
it will not work correctly.

Using _.intersection solves the problem.

OPW-2274990

closes odoo/odoo#52966

Signed-off-by: default avatarNicolas Lempereur (nle) <nle@odoo.com>
parent aea8536a
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