summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorJesús Alan Ramos Rodríguez <alan.ramos@jarsa.com.mx>2018-08-27 10:05:37 -0500
committerMartin Trigaux <mat@odoo.com>2018-09-04 17:04:33 +0200
commit5b13a45fb822a8c1af8fa057fd9e6f9a55173049 (patch)
tree4cab6d620db1d9613ad7675bea88eb5e479c7d18 /doc
parent2a13863f4355eb84f620ce163d7a3ea2b4a28a29 (diff)
[FIX] doc: Change name of method in documentation
invalidate_all no longer exists Closes #26613
Diffstat (limited to 'doc')
-rw-r--r--doc/reference/orm.rst4
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/reference/orm.rst b/doc/reference/orm.rst
index 9ce03c8709a..e6c74883d41 100644
--- a/doc/reference/orm.rst
+++ b/doc/reference/orm.rst
@@ -499,8 +499,8 @@ necessary to clear caches when using ``CREATE``, ``UPDATE`` or ``DELETE`` in
SQL, but not ``SELECT`` (which simply reads the database).
Clearing caches can be performed using the
-:meth:`~odoo.api.Environment.invalidate_all` method of the
-:class:`~odoo.api.Environment` object.
+:meth:`~odoo.models.BaseModel.invalidate_cache` method of the
+:class:`~odoo.models.BaseModel` object.
.. _reference/orm/oldapi: