[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 closes odoo/documentation#12133 Related: odoo/odoo#198733 Signed-off-by: Mathieu Duckerts-Antoine (dam) <dam@odoo.com>
This commit is contained in:
parent
f9d7e3d693
commit
8a91b816fc
@ -2261,6 +2261,16 @@ attributes:
|
||||
:default: `True`
|
||||
: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
|
||||
attributes:
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user