Fix register by getting TableHandler without get call.

This commit is contained in:
Albert Cervera i Areny 2020-07-04 14:26:08 +02:00
parent d121b70895
commit 94f6e0d2b5
1 changed files with 1 additions and 2 deletions

View File

@ -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)