diff --git a/content/developer/reference/orm.rst b/content/developer/reference/orm.rst index 524c6a6a4..0e6e2cca8 100644 --- a/content/developer/reference/orm.rst +++ b/content/developer/reference/orm.rst @@ -663,7 +663,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