[MERGE] Forward-port of branch 14.0 to master

This commit is contained in:
Antoine Vandevenne (anv)
2021-05-21 17:23:57 +02:00
68 changed files with 289 additions and 270 deletions
+1 -1
View File
@@ -785,7 +785,7 @@ cursor for the current database transaction and allows executing SQL directly,
either for queries which are difficult to express using the ORM (e.g. complex
joins) or for performance reasons::
self.env.cr.execute("some_sql", param1, param2, param3)
self.env.cr.execute("some_sql", params)
Because models use the same cursor and the :class:`~odoo.api.Environment`
holds various caches, these caches must be invalidated when *altering* the