diff --git a/odoo/sql_db.py b/odoo/sql_db.py index d9046a8b5987d..c36fa178aa08e 100644 --- a/odoo/sql_db.py +++ b/odoo/sql_db.py @@ -500,7 +500,8 @@ def __exit__(self, exc_type, exc_value, traceback): self._cursor.__exit__(exc_type, exc_value, traceback) class PsycoConnection(psycopg2.extensions.connection): - pass + def lobject(*args, **kwargs): + pass class ConnectionPool(object): """ The pool of connections to database(s)