diff --git a/product.py b/product.py index 271bce9..8c7b8cd 100644 --- a/product.py +++ b/product.py @@ -46,8 +46,7 @@ class ProductSpecialPrice(ModelSQL, CompanyValueMixin): @classmethod def __register__(cls, module_name): - TableHandler = backend.get('TableHandler') - exist = TableHandler.table_exist(cls._table) + exist = backend.TableHandler.table_exist(cls._table) super(ProductSpecialPrice, cls).__register__(module_name)