Skip to content
Snippets Groups Projects
Commit 213b6885 authored by Victor Piryns (pivi)'s avatar Victor Piryns (pivi)
Browse files

[FIX] project: improve tags name_search robustness


Description:
The commit 05855b6b introduced a
fast-path for the name_search on tags from the form view of tasks.
But the implementation was too complex and wasn't handling correctly
all possible operators (it just had a fallback on the default
parent name_search implementation).
The aim is to simplify the code for better robustness and
maintainability long term.

Fix:
Convert the query to it's equivalent python code. It has a slight
performance regression than the previous implementation (we are
making 3 queries worse-case instead of 1), but the regression is
non-significant and not critical.

Affected versions:
16.0 up to master

Reference:
task-3503721

closes odoo/odoo#135323

Signed-off-by: default avatarAudric Onockx (auon) <auon@odoo.com>
parent e341f592
No related branches found
No related tags found
Loading
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