Selecting "Search More..." incorrectly chooses the first search result

Bug #1213924 reported by Craig Gowing (credativ) on 2013-08-19
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Nicolas Vanhoren (OpenERP)
OpenERP Community Backports (Web)

Bug Description

Tested on 7.0 (r4013) and trunk (r3816) using Google Chrome 28.0.1500.95 (Linux amd64)

Current behaviour of the many2one field in a list view (eg adding SO lines in a quotation), typing in a search query with results and then deselecting the field will result in the first search result to be populated automatically. When quickly adding SO lines this is a useful feature.

However when you type a search query and select "Search More...", this results in the field losing focus and also populates the first search result in the field as well as bringing up the search dialogue. This may be misleading, especially if you close the search dialogue without selecting anything.

I propose that the behaviour of the "Search More..." dialogue should result in the many2one field being left blank until a result is actually selected in the dialogue.


Fix typo in description.
Linked branch off 7.0 with a proposed fix.

description: updated
Changed in openerp-web:
assignee: nobody → OpenERP R&D Web Team (openerp-dev-web)
importance: Undecided → Medium
status: New → Confirmed
Changed in openerp-web:
assignee: OpenERP R&D Web Team (openerp-dev-web) → Nicolas V.(OpenERP) (niv-openerp)

Well, actually there is no "good" behavior. Setting the field blank could also be misleading.

So, I'll consider this is a personal taste matter and I prefer to not alter that behavior.

Changed in openerp-web:
status: Confirmed → Invalid

Thanks Nicolas for sharing your insight. Would it be possible to set this to Opinion, not invalid?

FWIW, I do share the submitter's opinion.

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers