From d545c340cd1de52b1d4583c58cc9adb42cf80d7e Mon Sep 17 00:00:00 2001 From: glovebx Date: Thu, 21 Mar 2024 18:36:57 +0000 Subject: [PATCH] [FW][FIX] dev/view_architectures: domain attribute of search view fields The domain in the `field` component cannot accept user-provided values or access self variables. This commit removes the misleading sentence about it from the documentation. closes odoo/documentation#8208 Forward-port-of: odoo/documentation#8193 Signed-off-by: Victor Feyens (vfe) --- .../developer/reference/user_interface/view_architectures.rst | 2 -- 1 file changed, 2 deletions(-) diff --git a/content/developer/reference/user_interface/view_architectures.rst b/content/developer/reference/user_interface/view_architectures.rst index 93a7f5040..b0a385015 100644 --- a/content/developer/reference/user_interface/view_architectures.rst +++ b/content/developer/reference/user_interface/view_architectures.rst @@ -1826,8 +1826,6 @@ The `field` element can have the following attributes: The filters to apply to the completion results for fields that allow for auto-completion (e.g., :class:`~odoo.fields.Many2one`). - It can contain user-provided values, which are available under the `self` variable. - :requirement: Optional :type: :ref:`Python expression ` :default: `[]`