diff options
| author | Christophe Simonis <chs@odoo.com> | 2019-08-30 17:20:28 +0200 |
|---|---|---|
| committer | Christophe Simonis <chs@odoo.com> | 2019-08-30 17:20:28 +0200 |
| commit | 545e6d20344f37081ccd6c6e788ea1c5383717af (patch) | |
| tree | 7786f6001919ea18792c35c4f769336ef991fd3a /doc/reference | |
| parent | 513545cdbdf95ae61c068270ab61eec8b81c9bd8 (diff) | |
| parent | 52f6e38cea8ff9d16ab3432b3ccf032472e5a666 (diff) | |
[MERGE] forward port branch 12.0 up to 52f6e38cea8
Diffstat (limited to 'doc/reference')
| -rw-r--r-- | doc/reference/javascript_reference.rst | 4 | ||||
| -rw-r--r-- | doc/reference/orm.rst | 6 |
2 files changed, 8 insertions, 2 deletions
diff --git a/doc/reference/javascript_reference.rst b/doc/reference/javascript_reference.rst index 05e546dfec6..16f3608836d 100644 --- a/doc/reference/javascript_reference.rst +++ b/doc/reference/javascript_reference.rst @@ -1969,7 +1969,7 @@ Relational fields .. autoclass:: web.relational_fields.FieldSelection - Supported field types: *selection*, *many2one* + Supported field types: *selection* .. attribute:: placeholder @@ -2010,7 +2010,7 @@ Relational fields - many2one (FieldMany2One) Default widget for many2one fields. - - Supported field types: *selection, many2one* + - Supported field types: *many2one* Attributes: diff --git a/doc/reference/orm.rst b/doc/reference/orm.rst index f0c0452c8d5..5213add7765 100644 --- a/doc/reference/orm.rst +++ b/doc/reference/orm.rst @@ -1118,6 +1118,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 |
