-
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.