diff options
| author | Victor Feyens <vfe@odoo.com> | 2020-02-05 14:00:15 +0000 |
|---|---|---|
| committer | Victor Feyens <vfe@odoo.com> | 2020-02-05 14:00:15 +0000 |
| commit | 59a7738be2c0402d64525ce68b98edf325ff4242 (patch) | |
| tree | 9adc7d833a4b25b44c12092c71585978527442a2 /doc/reference | |
| parent | a53f42edf584d542209348878a83ccc85c23361e (diff) | |
[IMP] doc: orm page missing information + UI
* Some fields types were missing
* Add information on multi-record field access
* UI finetuning
Diffstat (limited to 'doc/reference')
| -rw-r--r-- | doc/reference/orm.rst | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/doc/reference/orm.rst b/doc/reference/orm.rst index 7075b3a782a..92408e69c88 100644 --- a/doc/reference/orm.rst +++ b/doc/reference/orm.rst @@ -127,8 +127,12 @@ Basic Fields Advanced Fields --------------- +.. autoclass:: Binary() + .. autoclass:: Html() +.. autoclass:: Image() + .. autoclass:: Monetary() .. autoclass:: Selection() @@ -861,6 +865,16 @@ Map .. automethod:: Model.mapped +.. note:: + + Since V13, multi-relational field access is supported and works like a mapped call: + + .. code-block:: python3 + + records.partner_id # == records.mapped('partner_id') + records.partner_id.bank_ids # == records.mapped('partner_id.bank_ids') + records.partner_id.mapped('name') # == records.mapped('partner_id.name') + Sort '''' |
