~openerp-dev/openerp-web/7.0-opw-589823-msh

Viewing all changes in revision 3901.

  • Committer: Olivier Dony
  • Date: 2013-04-18 11:20:01 UTC
  • mfrom: (3868.1.2 7.0)
  • Revision ID: odo@openerp.com-20130418112001-388op1t8ugr0rhfn
[FIX] web: support integer/float fields in search view via auto-completion + tests

integer/float fields were not offering auto-completion in search views,
making them unsearchable except via advanced search.
This patch adds the missing complete() function and removes the incorrect
value_from() function that did not conform to the 7.0 search view API.
It seemed to be a leftover of the 6.1 search field implementation
of get_value(), wrongly renamed for 7.0.

Also includes corresponding tests.

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: