lims_interface, lims_analysis_sheet: some fixes
This commit is contained in:
parent
579b8efe0b
commit
c099e72f52
|
@ -78,7 +78,7 @@ class Column(metaclass=PoolMeta):
|
|||
destination_column = fields.Integer('Column',
|
||||
states={
|
||||
'invisible': Eval('_parent_interface', {}).get(
|
||||
'export_template_type') == 'txt',
|
||||
'export_file_type') == 'txt',
|
||||
'readonly': Eval('interface_state') != 'draft',
|
||||
},
|
||||
depends=['interface_state'],
|
||||
|
@ -86,18 +86,18 @@ class Column(metaclass=PoolMeta):
|
|||
destination_start = fields.Integer('Field start',
|
||||
states={
|
||||
'required': Eval('_parent_interface', {}).get(
|
||||
'export_template_type') == 'txt',
|
||||
'export_file_type') == 'txt',
|
||||
'invisible': Eval('_parent_interface', {}).get(
|
||||
'export_template_type') != 'txt',
|
||||
'export_file_type') != 'txt',
|
||||
'readonly': Eval('interface_state') != 'draft',
|
||||
},
|
||||
depends=['interface_state'])
|
||||
destination_end = fields.Integer('Field end',
|
||||
states={
|
||||
'required': Eval('_parent_interface', {}).get(
|
||||
'export_template_type') == 'txt',
|
||||
'export_file_type') == 'txt',
|
||||
'invisible': Eval('_parent_interface', {}).get(
|
||||
'export_template_type') != 'txt',
|
||||
'export_file_type') != 'txt',
|
||||
'readonly': Eval('interface_state') != 'draft',
|
||||
},
|
||||
depends=['interface_state'])
|
||||
|
|
|
@ -1635,6 +1635,9 @@ class Compilation(Workflow, ModelSQL, ModelView):
|
|||
del data['compilation']
|
||||
Data.write([data_line], data)
|
||||
|
||||
def collect_txt(self, create_new_lines=True):
|
||||
return
|
||||
|
||||
def _get_schema(self):
|
||||
schema = {}
|
||||
formula_fields = {}
|
||||
|
|
Loading…
Reference in New Issue