← Back to team overview

openerp-dev-web team mailing list archive

[Bug 715773] Re: [6.0] web client should use exact match search (=) for searching on fields.selection

 

Hello Jacques-Etienne Baudoux (OpenERP),

Web client is also using '=' and index,  for field.selection.
Then also, if you find any specific case (not possible because its generic) then please send us details.

Thanks.

** Changed in: openobject-client-web
       Status: Confirmed => Invalid

-- 
You received this bug notification because you are a member of OpenERP
SA's Web Client R&D, which is a bug assignee.
https://bugs.launchpad.net/bugs/715773

Title:
  [6.0] web client should use exact match search (=) for searching on
  fields.selection

Status in OpenERP Web Client:
  Invalid

Bug description:
  When you perform a search on a selection field in the web client, the generated expression doesn't use the correct operator "=" but "ilike"
  it should be:
  [('state', '=', 'draft')]
  instead of
  [('state', 'ilike', 'draft')]

  First it is not correct and secondly, it's breaking the use of the
  indexes.