lims_interface: in Data.read() add 'id' and 'rec_name' for 'compilation' field too

This commit is contained in:
Mario Puntin 2020-04-07 11:29:28 -03:00
parent cd30ac5eb1
commit e727d143a3
1 changed files with 2 additions and 0 deletions

View File

@ -247,6 +247,7 @@ class Data(sequence_ordered(), ModelSQL, ModelView):
assert(view.id)
fields_names = [
'compilation',
'sequence',
'notebook_line',
]
@ -321,6 +322,7 @@ class Data(sequence_ordered(), ModelSQL, ModelView):
fetchall = list(cursor_dict(cursor))
fields_related = {
'compilation': 'lims.interface.compilation',
'notebook_line': 'lims.notebook.line'
}
for f in table.fields_: