Comment 11 for bug 748238

Revision history for this message
Stefan Rijnhart (Opener) (stefan-opener) wrote :

Hi Jiten,

thank you for your response.

I believe you are not correct with regards about the query operator applied by the many2one search widget. The many2one search widget does in fact not use the '=' operator, but the 'like' operator in every case. That is the topic of lp:751197, which you have just marked as a duplicate. I do not agree that lp:751197 is a duplicate of this bug.

The topic of this bug is that in the webclient it is impossible to select items by a substring search on a many2one field (i.e. select partners from North Korea and South Korea at the same time), because the search widget only allows to search for complete names of many2one items. In the GTK client, it is possible. Therefore the possibilities to selelect items by a many2one field are limited.

You also remark that this bug cannot easily be solved for architectural reasons, as if the widget should somehow be modified to handle char input. The widget already does in fact behave as a char field, except that it forces the user to choose from a limited number of options as its content.

If you agree that pressing ESC at the combobox is an acceptable scenario for the user to trigger substring search, then my branch fixes the bug in four lines of code.

Cheers,
Stefan.