mirror of
https://github.com/odoo/documentation.git
synced 2026-01-04 10:46:04 +07:00
[IMP] developer/reference: new usage of Model.mapped()
odoo/odoo#185630
This commit is contained in:
@@ -10,6 +10,8 @@ Odoo Online version 18.1
|
||||
- Declare constraints and indexes as model attributes with `#175783 <https://github.com/odoo/odoo/pull/175783>`_.
|
||||
- The `json` controllers have been renamed to `jsonrpc`. They are called the same, only the
|
||||
`type` in the python files changed. See `#183636 <https://github.com/odoo/odoo/pull/183636>`_.
|
||||
- Models' `mapped` function now behaves more like the `map` function: it always returns a
|
||||
list where each element of the recordset is mapped. See `#185630 <https://github.com/odoo/odoo/pull/185630>`_.
|
||||
|
||||
Odoo version 18.0
|
||||
=================
|
||||
|
||||
Reference in New Issue
Block a user