From a7657fbf847e2c1aa5104237cb2c4ddee79318ab Mon Sep 17 00:00:00 2001 From: Julien Mougenot Date: Mon, 6 Jul 2020 09:02:03 +0000 Subject: [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 --- doc/reference/views.rst | 4 ---- 1 file changed, 4 deletions(-) (limited to 'doc/reference') 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 -- cgit v1.2.3