Compare commits

...

1 Commits

Author SHA1 Message Date
Paolo Gatti
241bb9c11f [IMP] base, account: refs for multiple records retrieval
The `ref` method both in Environment and in ChartTemplate can now
accept multiple xml_ids, reducing the number of queries necessary.
The xml_ids must belong all to the same model or ValueError is raised.
`raise_if_not_found` argument is made a keyword-only argument so now
it's mandatory for the function calls must include the argument name.
2024-12-12 11:52:57 +01:00

View File

@@ -10,6 +10,9 @@ 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>`_.
- Method :meth:`~odoo.api.Environment.ref` now accepts a variadic sequence of arguments `xml_ids`,
and argument `raise_if_not_found` now is a keyword-only argument. See `#179692 <https://github.com/odoo/odoo/pull/179692>`_.
Odoo version 18.0
=================