lims_industry: fix "table handler" instantiation

This commit is contained in:
Adrián Bernardi 2022-05-07 17:47:25 -03:00
parent cdaba55c14
commit 3f796b87f0
1 changed files with 1 additions and 1 deletions

View File

@ -278,7 +278,7 @@ class EquipmentTemplateComponentKind(ModelSQL, ModelView):
@classmethod
def __register__(cls, module_name):
cursor = Transaction().connection.cursor()
TableHandler = backend.get('TableHandler')
TableHandler = backend.TableHandler
sql_table = cls.__table__()
super().__register__(module_name)
old_table_name = 'lims_equipment_template_component_type'