← Back to team overview

c2c-oerpscenario team mailing list archive

[Bug 748238] Re: search view - criteria are m2o fields instead of substring search

 

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.

-- 
You received this bug notification because you are a member of C2C
OERPScenario, which is subscribed to the OpenERP Project Group.
https://bugs.launchpad.net/bugs/748238

Title:
  search view - criteria are m2o fields instead of substring search

Status in OpenERP Web Client:
  New

Bug description:
  the web client displays filter fields as m2o instead of char fields 
  hence it is only possible to filter one criteria while in GTK a (more) substring filter is implemented 

  this is limiting the usefulness of the analyses tool



References