diff options
| author | Florent de Labarre <florent.mirieu@gmail.com> | 2019-04-09 17:46:50 +0000 |
|---|---|---|
| committer | Victor Feyens <vfe@odoo.com> | 2019-08-28 08:46:15 +0000 |
| commit | 71570e49ab6a9d7c7950a5b683f504deded3dc04 (patch) | |
| tree | 729e7cbc61d8e6c36e6fd54d8f5e7c3315dd51a0 /doc/reference | |
| parent | 48ee127a00989c852f40981288baaa45c2393195 (diff) | |
[FIX] doc: add parent_of operator
closes odoo/odoo#32558
Signed-off-by: vfe <Feyensv@users.noreply.github.com>
Diffstat (limited to 'doc/reference')
| -rw-r--r-- | doc/reference/orm.rst | 6 |
1 files changed, 6 insertions, 0 deletions
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 |
