diff options
Diffstat (limited to 'doc/reference')
| -rw-r--r-- | doc/reference/cmdline.rst | 6 | ||||
| -rw-r--r-- | doc/reference/javascript_reference.rst | 4 | ||||
| -rw-r--r-- | doc/reference/orm.rst | 13 | ||||
| -rw-r--r-- | doc/reference/views.rst | 4 |
4 files changed, 23 insertions, 4 deletions
diff --git a/doc/reference/cmdline.rst b/doc/reference/cmdline.rst index 6b1b755d0e2..8ab38abdc51 100644 --- a/doc/reference/cmdline.rst +++ b/doc/reference/cmdline.rst @@ -228,6 +228,12 @@ database when creating new databases from the database-management screens, use the specified `template database`_. Defaults to ``template0``. +.. option:: --pg_path </path/to/postgresql/binaries> + + Path to the PostgreSQL binaries that are used by the database manager to + dump and restore databases. You have to specify this option only if these + binaries are located in a non-standard directory. + .. option:: --no-database-list Suppresses the ability to list databases available on the system diff --git a/doc/reference/javascript_reference.rst b/doc/reference/javascript_reference.rst index 2b2b51e4dc8..a6eeb5e8d4e 100644 --- a/doc/reference/javascript_reference.rst +++ b/doc/reference/javascript_reference.rst @@ -1987,7 +1987,7 @@ Relational fields .. class:: web.relational_fields.FieldSelection - Supported field types: *selection*, *many2one* + Supported field types: *selection* .. attribute:: placeholder @@ -2028,7 +2028,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 b71b52a8907..4cdbf78f65c 100644 --- a/doc/reference/orm.rst +++ b/doc/reference/orm.rst @@ -697,6 +697,13 @@ Model Reference :type: bool + .. attribute:: _check_company_auto + + On write and create, call ``_check_company`` to ensure companies + consistency on the relational fields having ``check_company=True`` + as attribute. + (default: ``False``) + .. rubric:: CRUD .. automethod:: create @@ -1106,6 +1113,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 diff --git a/doc/reference/views.rst b/doc/reference/views.rst index b9c064ec56c..3832eaf954c 100644 --- a/doc/reference/views.rst +++ b/doc/reference/views.rst @@ -1076,8 +1076,8 @@ Possible children of the view element are: the progressbar ``colors`` (required) - JSON mapping the above field values to either "danger", "warning" or - "success" colors + JSON mapping the above field values to either "danger", "warning", "success" + or "muted" colors ``sum_field`` (optional) the name of the field whose column's records' values will be summed and |
