[FIX] reference/user_interface: filter element name is mandatory

The filter element attribute 'name' is now required since
odoo/odoo/commit/4ddc3231

closes odoo/documentation#7510

Signed-off-by: Antoine Vandevenne (anv) <anv@odoo.com>
This commit is contained in:
Julien Alardot (jual) 2024-01-23 15:58:07 +01:00
parent e6c1f703ab
commit cbe72a69bb

View File

@ -1871,6 +1871,16 @@ searching/filtering`, or appending new sections to the search filter.
The `filter` element can have the following attributes:
.. attribute:: name
:noindex:
The technical name of the filter. It can be used to :ref:`enable it by default
<reference/view_architectures/search/defaults>` or as an :ref:`inheritance hook
<reference/view_records/inheritance>`.
:requirement: Mandatory
:type: str
.. attribute:: string
:noindex:
@ -1888,17 +1898,6 @@ The `filter` element can have the following attributes:
:type: str
:default: `''`
.. attribute:: name
:noindex:
The technical name of the filter. It can be used to :ref:`enable it by default
<reference/view_architectures/search/defaults>` or as an :ref:`inheritance hook
<reference/view_records/inheritance>`.
:requirement: Optional
:type: str
:default: `''`
.. attribute:: domain
:noindex: