From c106f01f99a47fc5f40ad61719c302a58d9ce34f Mon Sep 17 00:00:00 2001 From: Fabien BOURGEOIS Date: Sat, 4 Jul 2020 16:31:39 +0200 Subject: [PATCH] [FIX]Storage fix with latest 2.1.x --- radicale_odoo_storage/__init__.py | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/radicale_odoo_storage/__init__.py b/radicale_odoo_storage/__init__.py index 3fc4a84..af92d21 100644 --- a/radicale_odoo_storage/__init__.py +++ b/radicale_odoo_storage/__init__.py @@ -47,6 +47,12 @@ class Collection(BaseCollection): odoo = False + @classmethod + def static_init(cls): + """ Static init is usefull mainly for threading lock, not needed for + Odoo storage """ + pass + def __init__(self, path): """ Init function """ self.__class__.odoo = Auth.odoo