From c306ce28d524e868a558c9ecb4ce5e9173c220c1 Mon Sep 17 00:00:00 2001
From: Christophe Simonis <chs@odoo.com>
Date: Wed, 27 Jan 2021 08:48:30 +0100
Subject: [PATCH] [IMP] core: large object support

---
 odoo/sql_db.py | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/odoo/sql_db.py b/odoo/sql_db.py
index d70dcd66e0f0..00bb145101bd 100644
--- a/odoo/sql_db.py
+++ b/odoo/sql_db.py
@@ -527,7 +527,8 @@ class TestCursor(object):
 
 
 class PsycoConnection(psycopg2.extensions.connection):
-    pass
+    def lobject(*args, **kwargs):
+        pass
 
 class ConnectionPool(object):
     """ The pool of connections to database(s)
-- 
GitLab