[IMP] orm: update changelog for the new flush strategy
closes odoo/documentation#7194 Related: odoo/upgrade#5469 Related: odoo/odoo#144747 Related: odoo/enterprise#53380 Signed-off-by: Rémy Voet (ryv) <ryv@odoo.com>
This commit is contained in:
parent
d07052aa57
commit
be60243eff
@ -693,6 +693,7 @@ Useful environment methods
|
|||||||
.. automethod:: Environment.is_superuser
|
.. automethod:: Environment.is_superuser
|
||||||
.. automethod:: Environment.is_admin
|
.. automethod:: Environment.is_admin
|
||||||
.. automethod:: Environment.is_system
|
.. automethod:: Environment.is_system
|
||||||
|
.. automethod:: Environment.execute_query
|
||||||
|
|
||||||
Altering the environment
|
Altering the environment
|
||||||
------------------------
|
------------------------
|
||||||
|
@ -4,6 +4,17 @@
|
|||||||
Changelog
|
Changelog
|
||||||
=========
|
=========
|
||||||
|
|
||||||
|
Odoo Online version 17.1
|
||||||
|
========================
|
||||||
|
|
||||||
|
- Method :meth:`~odoo.models.Model._flush_search` has been deprecated with
|
||||||
|
`#144747 <https://github.com/odoo/odoo/pull/144747>`_.
|
||||||
|
The flushing of fields is now done by :meth:`~odoo.api.Environment.execute_query`,
|
||||||
|
and is based on metadata put in the :class:`~odoo.tools.SQL` object by
|
||||||
|
:meth:`~odoo.models.BaseModel._search` and other low-level ORM methods that
|
||||||
|
build such objects. Those methods are also responsible for checking the access
|
||||||
|
rights on the fields that are used in the SQL object.
|
||||||
|
|
||||||
Odoo version 17.0
|
Odoo version 17.0
|
||||||
=================
|
=================
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user