lims: fix wizard to show included analysis not typified in sets/groups

This commit is contained in:
Adrián Bernardi 2020-07-16 12:07:01 -03:00
parent d52eb42ab7
commit d1e7342a70

View file

@ -2522,7 +2522,7 @@ class OpenAnalysisNotTypified(Wizard):
res = {}
active_id = Transaction().context['active_id']
if active_id:
analysis = Analysis()
analysis = Analysis(active_id)
if analysis.type in ('set', 'group'):
res['analysis'] = analysis.id
return res