summaryrefslogtreecommitdiff
path: root/doc/reference
diff options
context:
space:
mode:
authorJulien Mougenot <jum@odoo.com>2020-07-06 09:02:03 +0000
committerJulien Mougenot <jum@odoo.com>2020-07-27 08:03:18 +0000
commita7657fbf847e2c1aa5104237cb2c4ddee79318ab (patch)
tree54116ce8cfb6fc3cae71645698d68a8c85d31369 /doc/reference
parent2442892ec171a89d12c2c52e382a9205eb18541a (diff)
[IMP] web: Drop widget support in search view
Until now the "widget" attribute used in the search view was meant to force the type of a field regardless of its definition. This system was implemented quite a long time ago and is now useful in only one case: searching for "reference" fields (we want them considered as char fields else it is impossible to search on them). This is why this commit completely removes the "widget" attribute support in search views while consistently casting the "reference" fields as "char" fields in the search bar. Task 2061795
Diffstat (limited to 'doc/reference')
-rw-r--r--doc/reference/views.rst4
1 files changed, 0 insertions, 4 deletions
diff --git a/doc/reference/views.rst b/doc/reference/views.rst
index dfb01447cf9..09091451e9e 100644
--- a/doc/reference/views.rst
+++ b/doc/reference/views.rst
@@ -1856,10 +1856,6 @@ Possible children elements of the search view are:
``filter_domain="[]"``
``groups``
make the field only available to specific users
- ``widget``
- use specific search widget for the field (the only use case in
- standard Odoo 8.0 is a ``selection`` widget for
- :class:`~odoo.fields.Many2one` fields)
``domain``
if the field can provide an auto-completion
(e.g. :class:`~odoo.fields.Many2one`), filters the possible