[ADD] search panel: document new field attribute "depth"
We document the new attribute "depth" available for search panel fields of type "category" introduced in https://github.com/odoo/odoo/pull/198733. Task ID: 4579118
This commit is contained in:
parent
8c685239b4
commit
22daa15a25
@ -2261,6 +2261,16 @@ attributes:
|
|||||||
:default: `True`
|
:default: `True`
|
||||||
:scope: :class:`~odoo.fields.Many2one` fields
|
:scope: :class:`~odoo.fields.Many2one` fields
|
||||||
|
|
||||||
|
.. attribute:: depth
|
||||||
|
:noindex:
|
||||||
|
|
||||||
|
If set to a non zero integer, the hierarchy (if any) will be unfold up to the given level.
|
||||||
|
|
||||||
|
:requirement: Optional
|
||||||
|
:type: integer
|
||||||
|
:default: `0`
|
||||||
|
:scope: :class:`~odoo.fields.Many2one` fields
|
||||||
|
|
||||||
When the `field` element has the `select=multi` attribute set, it can have the following additional
|
When the `field` element has the `select=multi` attribute set, it can have the following additional
|
||||||
attributes:
|
attributes:
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user