[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#8229

Forward-port-of: odoo/documentation#8193
Signed-off-by: Victor Feyens (vfe) <vfe@odoo.com>
This commit is contained in:
glovebx 2024-03-22 03:08:58 +00:00 committed by GitHub
parent d6cd27bc9d
commit 3e4b026979

View File

@ -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 <reference/view_architectures/python_expression>`
:default: `[]`