From 71570e49ab6a9d7c7950a5b683f504deded3dc04 Mon Sep 17 00:00:00 2001 From: Florent de Labarre Date: Tue, 9 Apr 2019 17:46:50 +0000 Subject: [PATCH] [FIX] doc: add parent_of operator closes odoo/odoo#32558 Signed-off-by: vfe --- doc/reference/orm.rst | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/doc/reference/orm.rst b/doc/reference/orm.rst index 2661615ce3a..842a62dd981 100644 --- a/doc/reference/orm.rst +++ b/doc/reference/orm.rst @@ -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