[FIX]Storage fix with latest 2.1.x

This commit is contained in:
Fabien BOURGEOIS 2020-07-04 16:31:39 +02:00
parent a556b199b0
commit c106f01f99
1 changed files with 6 additions and 0 deletions

View File

@ -47,6 +47,12 @@ class Collection(BaseCollection):
odoo = False 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): def __init__(self, path):
""" Init function """ """ Init function """
self.__class__.odoo = Auth.odoo self.__class__.odoo = Auth.odoo