"Tablehandler migration to 6.0 [SKIP CI]."

This commit is contained in:
Sergio Morillo 2021-06-09 00:39:59 +02:00
parent e0e6e389bb
commit f6238bb911
1 changed files with 2 additions and 2 deletions

View File

@ -49,8 +49,8 @@ class PartyInvoiceTo(ModelSQL, CompanyValueMixin):
@classmethod
def __register__(cls, module_name):
TableHandler = backend.get('TableHandler')
exist = TableHandler.table_exist(cls._table)
table = cls.__table_handler__(module_name)
exist = table.table_exist(cls._table)
super(PartyInvoiceTo, cls).__register__(module_name)