From a6271b0c0b815caba10d12162d6cca30f070fa5f Mon Sep 17 00:00:00 2001 From: "Julien Alardot (jual)" Date: Tue, 23 Jan 2024 15:58:07 +0100 Subject: [PATCH] [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#7522 X-original-commit: cbe72a69bb17044c0d9862a2e474660729b698eb Signed-off-by: Antoine Vandevenne (anv) Signed-off-by: Julien Alardot (jual) --- .../user_interface/view_architectures.rst | 21 +++++++++---------- 1 file changed, 10 insertions(+), 11 deletions(-) diff --git a/content/developer/reference/user_interface/view_architectures.rst b/content/developer/reference/user_interface/view_architectures.rst index d85d8ac8f..93a7f5040 100644 --- a/content/developer/reference/user_interface/view_architectures.rst +++ b/content/developer/reference/user_interface/view_architectures.rst @@ -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 + ` or as an :ref:`inheritance hook + `. + + :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 - ` or as an :ref:`inheritance hook - `. - - :requirement: Optional - :type: str - :default: `''` - .. attribute:: domain :noindex: