'Search more...' for inaccurate names is slow
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Odoo Server (MOVED TO GITHUB) |
New
|
Undecided
|
Unassigned | ||
Odoo Web (MOVED TO GITHUB) |
New
|
Undecided
|
Unassigned |
Bug Description
The action of the 'Search more...'-button of many2one-
If the user hits 'Search more..' with an empty (or inaccurate, e.g. 'e') search-value this might take a long time, i.e. if a model implements its own name_get() (e.g. res.partner).
My idea is to add a flag to the context dictionary to tell name_search() to just return the ids. To do this we need to change the action for 'Search more...' in instance.
(I will push two branches for this issue.)