[FIX] doc: add parent_of operator

closes odoo/odoo#32558

Signed-off-by: vfe <Feyensv@users.noreply.github.com>
This commit is contained in:
Florent de Labarre
2019-08-28 08:46:15 +00:00
committed by Victor Feyens
parent 48ee127a00
commit 71570e49ab
+6
View File
@@ -1116,6 +1116,12 @@ A domain is a list of criteria, each criterion being a triple (either a
Takes the semantics of the model into account (i.e following the
relationship field named by
:attr:`~odoo.models.Model._parent_name`).
``parent_of``
is a parent (ascendant) of a ``value`` record.
Takes the semantics of the model into account (i.e following the
relationship field named by
:attr:`~odoo.models.Model._parent_name`).
``value``
variable type, must be comparable (through ``operator``) to the named