[IMP] developer/reference: new usage of Model.mapped()

odoo/odoo#185630
This commit is contained in:
Krzysztof Magusiak (krma)
2024-09-02 14:45:49 +00:00
parent 3218baee71
commit cf12d31739
3 changed files with 11 additions and 5 deletions

View File

@@ -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
=================