lims_industry: fix "table handler" instantiation
This commit is contained in:
parent
cdaba55c14
commit
3f796b87f0
|
@ -278,7 +278,7 @@ class EquipmentTemplateComponentKind(ModelSQL, ModelView):
|
||||||
@classmethod
|
@classmethod
|
||||||
def __register__(cls, module_name):
|
def __register__(cls, module_name):
|
||||||
cursor = Transaction().connection.cursor()
|
cursor = Transaction().connection.cursor()
|
||||||
TableHandler = backend.get('TableHandler')
|
TableHandler = backend.TableHandler
|
||||||
sql_table = cls.__table__()
|
sql_table = cls.__table__()
|
||||||
super().__register__(module_name)
|
super().__register__(module_name)
|
||||||
old_table_name = 'lims_equipment_template_component_type'
|
old_table_name = 'lims_equipment_template_component_type'
|
||||||
|
|
Loading…
Reference in New Issue